You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure how and why this happens, but after upgrading to JQuery 3.51 (from 3.4.1), a lot of my libraries broke, including spectrum.
Every instance of <i /> or <span /> had to be replaced by the corresponding non-self-closing tag, like <i></i>.
Silly HTML language...
I had to fix your library by changing this self-closing tag:
Otherwise, the palette was broken.
I noticed that reverting JQuery back to the old version fixed the problem, but I might be wrong, so maybe try to verify this on your end too. It might have been a different library that caused this, because it was a whole "library-upgrade day" for me when it happened...
Update:
Ohh!!!
Actually, the 1.8.1 version published here has this fix, but if you download the 1.8.0 release ZIP, it doesn't!
The text was updated successfully, but these errors were encountered:
It seems that there is bug in version 1.8.1 the problem is this code:
functionpaletteElementClick(e){if(e.data&&e.data.ignore){set($(e.target).closest(".sp-thumb-el").data("color"));move();}else{set($(e.target).closest(".sp-thumb-el").data("color"));move();// If the picker is going to close immediately, a palette selection// is a change. Otherwise, it's a move only.if(opts.hideAfterPaletteSelect){updateOriginalInput(true);hide();}else{updateOriginalInput();// here there should be true passed as argument}}returnfalse;}
When hideAfterPaletteSelect is not set it don't trigger the callback events. Which make ignore the pick of the palette.
I am not sure how and why this happens, but after upgrading to JQuery 3.51 (from 3.4.1), a lot of my libraries broke, including spectrum.
Every instance of
<i />
or<span />
had to be replaced by the corresponding non-self-closing tag, like<i></i>
.Silly HTML language...
I had to fix your library by changing this self-closing tag:
Otherwise, the palette was broken.
I noticed that reverting JQuery back to the old version fixed the problem, but I might be wrong, so maybe try to verify this on your end too. It might have been a different library that caused this, because it was a whole "library-upgrade day" for me when it happened...
Update:
Ohh!!!
Actually, the 1.8.1 version published here has this fix, but if you download the 1.8.0 release ZIP, it doesn't!
The text was updated successfully, but these errors were encountered: