Giter Site home page Giter Site logo

pickr.Show() Not working well about pickr HOT 4 CLOSED

simonwep avatar simonwep commented on May 22, 2024
pickr.Show() Not working well

from pickr.

Comments (4)

simonwep avatar simonwep commented on May 22, 2024 1

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.

simonwep avatar simonwep commented on May 22, 2024

Could you please provide a JSFiddle demo? I've tried it with your props but everything seems to work as expected fiddle.

from pickr.

iBelit avatar iBelit commented on May 22, 2024

JSFiddle
click on INPUT

from pickr.

simonwep avatar simonwep commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.