simonwep / pickr

🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!
https://simonwep.github.io/pickr
MIT License
4.31k stars 284 forks source link

Colors input not working in modals #300

Closed 42plamusse closed 3 years ago

42plamusse commented 3 years ago

What is the current behavior?

When using Pickr in a bootstrap modal, the input isn't responding.

Please provide the steps to reproduce and create a JSFiddle.

https://jsfiddle.net/plamusse42/c08ajokb/10/

What is the expected behavior?

Input should be working.

Your environment:

Version (see Pickr.version): 1.8.2
Used bundle (es5 or normal one): es5
Used theme (default is classic): classic
Browser-version:  Chrome 93.0.4577.82
Operating-system:  macOS Big Sur
friedrichkeydel commented 3 years ago

@Simonwep same problem here!

42plamusse commented 3 years ago

@friedrichkeydel I found out that this is not an issue with this library but with bootstrap modals. Solution to our problem in here: https://github.com/sweetalert2/sweetalert2/issues/374#issuecomment-268802123

friedrichkeydel commented 3 years ago

@42plamusse thank you, that indeed solved it! ;)