Comments (4)
Seems like event-bubbling was the problem. If your clicking outside of pickr, it will close itself, also on input elements. Changed to mousedown
and touchstart
events to detect blurring, doesn't look like a good solution, but it works so far. (34d3e73)
Updated Fiddle: https://jsfiddle.net/etb7kh9f/25/
from pickr.
Could you please provide a JSFiddle demo? I've tried it with your props but everything seems to work as expected fiddle.
from pickr.
JSFiddle
click on INPUT
from pickr.
If your're using npm, you can use npm i git://github.com/Simonwep/pickr.git
to get the last commits (which includes this fix). Otherwise, dist is always up-to-date :)
from pickr.
Related Issues (20)
- Conflict between Clear event and Save event HOT 3
- color on cancel event when comparison is false
- Reset swatches array with a pre-existing array HOT 1
- Make palette accessible HOT 1
- Color of opacity Slider should not be Black everytime HOT 2
- Conflict between clear and change events HOT 2
- Help getting set up HOT 7
- github dependabot security
- How to add a Custom Template below the color Pickr
- input not working in bootstrap 5 modal HOT 4
- how to drag HOT 1
- Error - Property 'app' does not exist on type 'object'. HOT 1
- How set title at top of color picker dialog?
- hope when modifying the transparency option, the transparency of the pcr-palette area remains unchanged (always 1)
- add module entry
- Is it possible to give the picker an :onfocus event for accessibility
- Support for the new RGB syntax
- remove or replace the node-sass dependency
- Opacity PCR-picker slider background color issue.
- SCSS files not published
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pickr.