-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
This is because the handleClick handler is being passed to the onTouchEnd prop in the file below.
react-nice-dates/src/CalendarDay.js
Line 54 in 21116de
| onTouchEnd={handleClick} |
This is specially an issue when there's not enough vertical space to fit the full height of the calendar on mobile (because of the mobile browser address bar at the top and navigation bar at the bottom, in this case). The user will try to scroll down to click one of the last dates of the month for example triggering the click event will the CalendarDay that was initially held for the drag up movement
💡 This is only an issue when touchDragEnabled is set to false. I could look more into it and submit a PR with a potential fix, if yo want me to.
RPReplay_Final1629083527.MP4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels