Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

HexColorInput text cursor moves to end of input field after each typed character #198

Open
kpalmvik opened this issue Nov 14, 2022 · 0 comments

Comments

@kpalmvik
Copy link

Hi! Thank you for a very powerful library! 馃憦

Looking at the react-colorful-hex-input-demo it seems that the default behavior is to move the text cursor to the end of the text (the entire color code) immediately after each character I type.

For example, if I want to type the color code #123456 I need to move the cursor, using the mouse, repeatedly until I have been able to type the entire code:

typing color code input

Not sure if this is intentional or not, but I find it a bit hard to use.

Compare it with the behavior in native Chrome color picker, as illustrated on MDN :

typing chrome input

Perhaps there is already a simple way to enable a more fluid typing experience?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant