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 does not receive focus if altInput is enabled #3005

Open
mark1502 opened this issue Apr 7, 2024 · 0 comments
Open

Flatpickr does not receive focus if altInput is enabled #3005

mark1502 opened this issue Apr 7, 2024 · 0 comments

Comments

@mark1502
Copy link

mark1502 commented Apr 7, 2024

Here is a link to reproduce the problem:

https://jsfiddle.net/304L1h7j/

Flatpickr elements with altInput set to true will not receive focus using document.getElementById( element ).focus(), but if altInput is set to false, then the flatpickr element will receive focus properly.

Your Environment

  • flatpickr version used: 4.6.13
  • Browser name and version: tested on Chrome, Firefox & Edge (latest versions)
  • OS and version: Windows 11 Home, version: 23H2
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

1 participant