gpbl / react-day-picker

DayPicker is a customizable date picker component for React. Add date pickers, calendars, and date inputs to your web applications.
https://daypicker.dev
MIT License
5.86k stars 701 forks source link

DayPicker doesnt work in ios chrome and safari on mobile. #2153

Closed FrankAlwis24 closed 1 month ago

FrankAlwis24 commented 1 month ago

Description

when passing the initialFocus prop to DayPicker it works on other platforms but doesn't work in iOS mobile safari and chrome. When we remove that property it works fine

Expected Behavior

When calendar icon is clicked the date popup should appear

Actual Behavior

Click on calendar icon on iOS mobile on safari or chrome