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

updateOriginalInput() not called when clickout to adjacent spectrum element #540

Open
EthanBasham opened this issue Apr 12, 2019 · 0 comments

Comments

@EthanBasham
Copy link

In my webpage I have multiple instances of spectrum scattered throughout a form. When the instances are side-by-side it is easy to go from one to the other by clicking on the replacer/preview elements. When this is done, the original input associated with the spectrum instance being clicked out of does not get updated. I created a quick fix for this by calling updateOriginalInput from the hideAll() function that gets called when show() is called. I am not sure if this is the proper technique, but it does work.

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

No branches or pull requests

1 participant