snaha-net / diete.design

https://diete.design
MIT License
0 stars 0 forks source link

Date input tap on iOS Safari brings up the native date picker #337

Open agazso opened 1 month ago

agazso commented 1 month ago

On iOS Safari the date input brings up the native date picker which looks differently as the date picker provided by Diete. I think it would be good to detect iOS Safari and in that case show the native date picker when clicked on the calendar icon.

Alternatively tapping on the date input could show the Diete date picker if that's easier to implement. The point is to make the behavior consistent and not show two different date pickers.

This is what happens if you tap on the date input: signal-2024-07-10-084518

For reference this is what happens if you tap on the calendar icon:

signal-2024-07-10-084547