-
-
Notifications
You must be signed in to change notification settings - Fork 765
Description
When implementing date range with caption element, on iOS (13) Safari browser - the start day selection is working correctly, but when trying to select end date, only onDayMouseEnter event is being registered and required second tap on the same element to count as a click, the issue is only present if there is at least one input family element (input, select, textfield, button) in the caption element component.
To Reproduce
https://codesandbox.io/s/react-day-picker-base-w8bh1
Visit the sandbox with iOS(13) device, first try to choose a date range without disabling custom caption, after that click the toggle button and try it again, this time it should work as it should.
Expected behavior
When choosing the end date the date should be set and not require second tap on the screen for safari to register it as a click.