trimble-oss / modus-web-components

This library provides Modus components as web components - reusable, encapsulated UI elements that are framework agnostic (can be implemented in any site).
https://modus-web-components.trimble.com/
MIT License
31 stars 65 forks source link

Modus Text Input ignores 'c' when typed #2646

Open natanbcpc opened 2 weeks ago

natanbcpc commented 2 weeks ago

Prerequisites

Describe the issue

When entering text into ModusTextInput, the letter 'c' is ignored if not typed within a small timeframe from the last letter or in uppercase. Copying and pasting 'c' seems to work fine though.

Reduced test cases

No response

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome

What is the issue regarding ?

@trimble-oss/modus-web-components

What version of npm package are you using ?

v0.29.0-react18 (also present in v0.32.0-react18)

Priority

High

What product/project are you using Modus Components for ?

CX Support

What is your team/division name ?

Skyris

Are you willing to contribute ?

Yes

Are you using Modus Web Components in production ?

https://cxsupport-qa.connectedfleet.io/#/integrations/types/create (not production)

github-actions[bot] commented 2 weeks ago

Hello @natanbcpc! Thanks for opening an issue. The Modus core team will get back to you soon (usually within 24-hours) and provide guidance on how to proceed. Contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to.

Please wait until the issue is ready to be worked on before submitting a PR, or you can reach out to the core team if it is time bound. For trivial things, or bugs that don't change the expected behaviors and UI, you can go ahead and make a PR.

coliff commented 2 weeks ago

Did you observe this issue on Storybook or on your own site? Reason i ask is that I know that Storybook has many of their own built-in keyboard shortcuts which make testing some Modus Web Components on storybook a little tricky.

Can you reproduce the issue on this simple HTML test page I created? https://coliff.github.io/modus-web-components-example/#text-inputs

I wasn't able to reproduce it. If you can please can you record a video or let us know which words/characters you entered?

cjwinsor commented 1 week ago

@natanbcpc is it possible to provide more context or sample code that reproduces the issue. Typing c in the storybook is seemingly working 100% of the time during my testing. A codepen or stackblitz would be great for reproducing.