Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fire input and change event on set for color input#230

Open
asilano wants to merge 1 commit intorubycdp:main from
asilano:dispatch-events-on-set-color-input
Open

Fire input and change event on set for color input #230
asilano wants to merge 1 commit intorubycdp:main from
asilano:dispatch-events-on-set-color-input

Conversation

@asilano
Copy link

@asilano asilano commented 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 #229

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Setting a color input doesn't fire the change or input events

1 participant

AltStyle によって変換されたページ (->オリジナル) /