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 change cancel doesn't update color #272

Closed
MarvNC opened this issue Apr 19, 2021 · 0 comments
Closed

Color change cancel doesn't update color #272

MarvNC opened this issue Apr 19, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@MarvNC
Copy link

MarvNC commented Apr 19, 2021

What is the current behavior?

After changing the color and clicking on the original color in the top left, the picker after the cancel event is fired does not return to having the original color.

Please provide the steps to reproduce and create a JSFiddle.

https://jsfiddle.net/fe862d71/2/

What is the expected behavior?

After clicking the top left color to cancel and getting the cancel event, the color accessed in the PickrInstance or the picker itself should have the original color. However, it takes two clicks of the original color for the picker instance to update its color.

Your environment:

Version (see Pickr.version): Latest
Used bundle (es5 or normal one): Normal (though it seems the fiddle template uses es5)
Used theme (default is classic): Classic
Browser-version:  Chrome 90
Operating-system:  Windows 10
2021-04-19_13-59-06.mp4
@MarvNC MarvNC added the bug Something isn't working label Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant