You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This regression was introduced in #735. The site switching keybindings are interfering with entering numbers into the datepicker.
Fixing it would require some sort of horrible global state so the site switcher can ignore the keybind when datepicker is open. @Vigasaurus any other ideas?
Assuming the datepicker uses a basic input element, we could just have the keydown handler check the event target for if it's of input type and break out. Or honestly, the datepicker is what handles both the keybindings and keeps the flatpickr state, so it could be as simple as checking the open state in the keydown, similar to the code below. nevermind, idk why I thought it was the datepicker keybinds interfering
I've tried this on my own and can replicate the issue.
(reported via twitter dm)
The text was updated successfully, but these errors were encountered: