Skip to content

Conversation

@dnllowe
Copy link

@dnllowe dnllowe commented Jan 31, 2022

Binds the necessary DOM nodes for events instead of using selectors. This way, each instance of the color picker is encapsulated and changes won't affect other instances of the component.

Before

Unpredictable behavior
https://user-images.githubusercontent.com/18432482/151742321-b3bc867a-6fb7-4c04-913e-e479db58a8b7.mp4

After

Works as expected
https://user-images.githubusercontent.com/18432482/151742384-aad516b5-af0f-4ee1-99d0-e1eefdc0fcad.mp4

Binds the necessary DOM nodes for events instead of using selectors. This way, each instance of the color picker is encapsulated and changes won't affect other instances of the component.
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

Successfully merging this pull request may close these issues.

1 participant