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
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.
This discussion was converted from issue #970 on February 10, 2021 03:10.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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.
Beta Was this translation helpful? Give feedback.
All reactions