-
Notifications
You must be signed in to change notification settings - Fork 151
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
unexpected click event when works with select2 #14
Comments
Hi @Viky-zhang , |
@lokesh-coder |
…e calculated from parent font size. Aligned to baseline of the application's font. BREAKING CHANGE: The complete API has been changed, and this version does not compatible with v2.x refactor( core ): Complete rewritten of the library feat( animation ): Pulse feat( state ): Introducing state, to work with different checkbox states feat( scale ): Added support to make checkbox bigger feat( SVG ): Added support for svg elements,files and sprites feat( Image ): Added support for tiny images feat( Switch ): New iOS style switches with 3 variants fix( core ): z-index is calculated from 0 to 2 [ #6 , #14 ] feat( lock ): Similar to disable but looks like active [ #17 ] build( CI ): Setup Travis for auto publish from staging to master doc( readme ): Updated with examples, badges, gif preview and a logo doc( readme ): Removed bower installation guide doc( readme ): Changed CDN provider from cdnjs to jsDelivr refactor( core ): All class names starts with prefix `p-` except *pretty*and *state*
…e calculated from parent font size. Aligned to baseline of the application's font. (#19) BREAKING CHANGE: The complete API has been changed, and this version does not compatible with v2.x refactor( core ): Complete rewritten of the library feat( animation ): Pulse feat( state ): Introducing state, to work with different checkbox states feat( scale ): Added support to make checkbox bigger feat( SVG ): Added support for svg elements,files and sprites feat( Image ): Added support for tiny images feat( Switch ): New iOS style switches with 3 variants fix( core ): z-index is calculated from 0 to 2 [ #6 , #14 ] feat( lock ): Similar to disable but looks like active [ #17 ] build( CI ): Setup Travis for auto publish from staging to master doc( readme ): Updated with examples, badges, gif preview and a logo doc( readme ): Removed bower installation guide doc( readme ): Changed CDN provider from cdnjs to jsDelivr refactor( core ): All class names starts with prefix `p-` except *pretty*and *state*
Hi @Viky-zhang , The issue has been fixed in new version 3. The z-index has few more problems ( like #6 ) and side effects, So the code is completely changed with no backward compatibility. I have updated your jsfiddle code with new version. Here's the documentation. Thanks! |
Closing due to inactivity. Please reopen if you still face the issue. |
https://jsfiddle.net/2j5gx35j/11/
When working with Select2 , if dropdown list of select2 cover pretty-checkbox, after click select2 item, will also cause pretty-checkbox seleted.
May this two css rules is the reason:
z-index: 99999999;
: https://github.com/lokesh-coder/pretty-checkbox/blob/master/src/pretty.css#L63opacity: 0;
: https://github.com/lokesh-coder/pretty-checkbox/blob/master/src/pretty.css#L71The text was updated successfully, but these errors were encountered: