-
Notifications
You must be signed in to change notification settings - Fork 251
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does this lib support <input type="color"/> ? #423
Comments
Hi @ambroiseRabier, Yes it does. |
I didn't said it explicitly, but how do you use this library to set the color ? I doesn't type anything, when choosing a color, it is a serie of minimum 2 clicks. Neither |
Sorry, I think I was mistaken. Hey @visualjerk, do you have any ideas here? |
As you can see here typing on these doesn't trigger an input event or change the inputs value. So in order to test those you would probably have to use fireEvent.input(colorInputElement, {target: {value: '#333333'}}) Maybe we find a solution that comes closer to how a user interacts with these kind of inputs, but I assume it is pretty hard to do inside an emulated dom. |
I agree. Maybe we could add a note in the docs about this? @ambroiseRabier, would you be interested in doing that? |
@visualjerk that is indeed the solution I went for. |
Yeah, I think a new section titled "Known issues" or "Known limitations" would be useful. |
Can I help with that? |
Sure @jesujcastillom :) |
Is there any expectation to support this in the future? |
Does this lib support
<input type="color"/>
?The text was updated successfully, but these errors were encountered: