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
My use case is when user should be able to pick any color, or transparent. I added transparent swatch to the palette, but it seems selecting this will set the alpha internally to 0 and there is no way to reset that.
So, there is a way around this by listening to the change event and setting the picker as necessary: http://jsbin.com/omavub/3/edit. I think this use case is probably specific enough to handle in a way like this.
Also, you might keep an eye out on this pull request: #37. This is a similar kind of feature that has been implemented (where you can 'remove' a color). It may match up with what you are trying to do.
My use case is when user should be able to pick any color, or transparent. I added transparent swatch to the palette, but it seems selecting this will set the alpha internally to 0 and there is no way to reset that.
http://jsbin.com/omavub/1/edit
The text was updated successfully, but these errors were encountered: