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
Describe the bug
We use the inline calendar to show multiple calendar months below each other on a mobile device. Before, when scrolling (with touch) you could scroll the page containing the calendars normally. Version 8.8.1 was ok.
Starting with version 9, the touchstart event on top of a calendar item would trigger a click-event. So you basically cant scroll the page on top of a calendar without triggering a date selection.
This makes the calendar unusable in our case, as scrolling would automatically select any random date and with the range option, its almost impossible afterwards to select the right range.
Maybe it is difficult to run the Stackblitz reproduction on a mobile device or in the simulator. Therefore I uploaded the reproduction to a standalone location:
The bug is very clearly reproducible. I can reproduce it in Chrome, Firefox, Safari as well as in the Devtools simulator with touch enabled. Is there a specific browser where you don't encounter the issue? Or does it need further explanation?
You can't scroll withouth accidentally selecting dates. I've added range="true" to even better show the issue. Imagine you want to select a date in 4-5 months and scroll there. You cant get there without accidentally selecting other dates first while scrolling. WIth range it becomes difficult to even select a date at all.
Describe the bug
We use the
inline
calendar to show multiple calendar months below each other on a mobile device. Before, when scrolling (with touch) you could scroll the page containing the calendars normally. Version 8.8.1 was ok.Starting with version 9, the touchstart event on top of a calendar item would trigger a click-event. So you basically cant scroll the page on top of a calendar without triggering a date selection.
This makes the calendar unusable in our case, as scrolling would automatically select any random date and with the range option, its almost impossible afterwards to select the right range.
To Reproduce
Reproduction: https://stackblitz.com/edit/vuepic-vue-datepicker-4aj8ctal?file=src%2Fcomponents%2FPlayground.vue
Steps to reproduce the behavior:
Expected behavior
I expect to use inline calendar on mobile without accidental clicks when scrolling
Desktop & mobile (please complete the following information):
The text was updated successfully, but these errors were encountered: