react-responsive-ui select - Cursor jumping to the end in the inputField while editing.
See original GitHub issueimport Phone from 'react-phone-number-input/react-responsive-ui';
This is the import that i am using in my application. I am using the select from the react-responsive-ui. We are facing an issue, the cursor is jumping to the end when editing inside the input field and found this import(react-responsive-ui) is causing this issue. If i change it to use the default select(import Phone from ‘react-phone-number-input’) it all works fine.
Herewith attaching gif file that explains the issue.
I noticed that in your readme File you are using this select but i could not find a demo or an example of using react-responsive-ui in the latest versions.
Could you please assist me here to see if I am missing any styles or anything?
Thank you
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
React controlled input cursor jumps - Stack Overflow
If your value is controlled by state, React will maintain the input's cursor position. The problem is when the input receives a change...
Read more >Solving Caret Jumping in React Inputs - DEV Community
When you inject programmatically a different value in a DOM input, the input makes no assumption about caret position and moves it to...
Read more >The Curious Case of Cursor Jumping - Mutually Human
Cursor jumping is simply when the cursor jumps from one location to another, unexpectedly, while the user is typing into a text field....
Read more >Preserve cursor position when filtering out characters from a ...
If we put the cursor in the middle of the input and try to insert a number, we can see that the cursor...
Read more >Handling common accessibility problems - MDN Web Docs
(when inside form) Select chosen value. Ctrl + Alt + cursor keys, (when a table is selected) Move between table cells. Screen reader...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Subha Maybe something like:
The code above doesn’t support
divider
s though.The library now doesn’t use specifically
react-responsive-ui
’s select and instead provides a way for a developer to specify their own select component. See the docs or the demo.