Skip to content
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

Flatpickr blocks all the keydowns #1338

Closed
PieterSwitten opened this issue Apr 17, 2018 · 4 comments
Closed

Flatpickr blocks all the keydowns #1338

PieterSwitten opened this issue Apr 17, 2018 · 4 comments

Comments

@PieterSwitten
Copy link

As you can see in the fiddle all the keydown events are blocked by the datepicker.
I think you only need to 'catch' the keyevents when the datepicker is open, not when it is initialized.

https://jsfiddle.net/tj2Lo4z7/95/

Your Environment

  • flatpickr version used: flatpickr@^4.4.3
  • Browser name and version: latest chrome
  • OS and version: macOS High Sierra
@davidwallacejackson
Copy link

Just discovered this in my own app. Pretty serious issue -- and it was also quite hard to isolate, since it broke a part of my app that has nothing to do with the calendar. I'm going to downgrade for now (4.2.3 works OK), but a fix would be greatly appreciated.

@chmln chmln closed this as completed in 232d118 Apr 25, 2018
@chmln
Copy link
Member

chmln commented Apr 25, 2018

Hey @PieterSwitten @davidwallacejackson

Thanks for reporting this, and sorry about this one slipping through the cracks.
I will get a new release out as soon as possible.

:)

@davidwallacejackson
Copy link

Thanks!

@PieterSwitten
Copy link
Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants