flatpickr / flatpickr

lightweight, powerful javascript datetimepicker with no dependencies

Home Page:https://flatpickr.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flatpickr does not open on mobile if two flatpickers

artur79 opened this issue · comments

I'v got 2 flatpickr's opened in stimulusjs controller with open() method each.
Bug can be reproduced in developer tools in the browser. It fails only for the second flatpicker, first is fine.
I can overcome this bug with https://flatpickr.js.org/mobile-support/ but since it's not recommended I'm thinking is there any other solution/fix ?

  • flatpickr version used: 4.6.13
  • Browser name and version: Chrome/Brave
  • OS and version: Mobile