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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color picker change event not working as expected. #1680

Closed
albinmedoc opened this issue Oct 24, 2023 · 0 comments · Fixed by #1689
Closed

Color picker change event not working as expected. #1680

albinmedoc opened this issue Oct 24, 2023 · 0 comments · Fixed by #1689
Assignees
Labels
bug Things that aren't working right in the library.

Comments

@albinmedoc
Copy link

Describe the bug

"sl-input" & "sl-change" is allways triggered together. They should work like the range component. "sl-input" triggers while sliding & "sl-change" when releasing.

To Reproduce

Steps to reproduce the behavior:

  1. Add a color-picker and listen for "sl-input" & "sl-change" events.
  2. Log them to console to easily see when they occur.

Demo

If the bug isn't obvious, please provide a link to a CodePen or Fiddle with a minimal reproduction. Bugs that have repros get attention faster than those that don't.

https://codepen.io/albinmedoc/pen/GRzJKRM?editors=1011

Screenshots

If applicable, add screenshots to help explain the bug.

Browser / OS

  • OS: [e.g. Mac, Windows]
  • Browser: [e.g. Chrome, Firefox, Safari]
  • Browser version: [e.g. 22]

Additional information

Provide any additional information about the bug here.

@albinmedoc albinmedoc added the bug Things that aren't working right in the library. label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants