inovex / elements

Lovingly crafted ui components based on web components. Works well with all Frameworks - including Angular, React and Vue.
https://elements.inovex.de
MIT License
69 stars 9 forks source link

ino-monthpicker: Skipping next and previous years on arrow click #215

Closed silentHoo closed 3 years ago

silentHoo commented 3 years ago

Describe the bug

When navigating through years by clicking the arrow icons, a click will either jump over multiple previous or next years. Sometimes another month is marked as well.

To Reproduce

buggyMonthpicker(1)

janivo commented 3 years ago

There are some issues with the flatpickr library. See these issues:

What I tried:

There was no way to continuously disable the arrow change handlers. As soon as a valid date was selected and the month-picker was reopened to select another date, the bugs occurred again.

silentHoo commented 3 years ago

This ticket is related to https://github.com/inovex/elements/issues/257 and maybe fixes this bug.

silentHoo commented 3 years ago

Closed due to merged PR.