-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Setting a color input doesn't fire the change or input events #229
Comments
asilano
added a commit
to asilano/cuprite
that referenced
this issue
Apr 17, 2023
Since a color input has to have its value set directly via javascript (presumably because of the difficulty of interacting with the browser's colour picker), the `change` and `input` events don't automatically happen. This PR fires them manually. Fixes rubycdp#229
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given HTML like:
Then the following test will fail:
This is because the
set
method for a color input only forces the value via JavaScript; it doesn't trigger thechange
orinput
events.I have a fix for this; PR incoming.
The text was updated successfully, but these errors were encountered: