buildo / react-components

Collection of general React components used in buildo projects.
http://react-components.buildo.io/
MIT License
157 stars 21 forks source link

DatePicker doesn't always display all the days of the month #1479

Open marcopiii opened 2 years ago

marcopiii commented 2 years ago

The date picker always displays 5 rows, and this causes some days to be cut out in case the month has 30-31 days and it starts with a Saturday, or 31 days and starts with a Friday

Schermata 2022-01-18 alle 12 26 44

Also, in the case of a February with 28 days starting with a Sunday, a whole row is empty

Schermata 2022-01-18 alle 12 35 26
marcopiii commented 2 years ago

I guess the fixed height was applied to try to circumvent this problem in the underlying component from airbnb/react-dates