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 700 forks source link

Day Picker component stays Open even after selecting a date #2220

Closed zain-getdirectholidays closed 6 days ago

zain-getdirectholidays commented 6 days ago

Description

Expected Behavior

I expect DayPicker should stay close when we haven't interacted with it.

Actual Behavior

But it stays open all the time. even after selecting a date, it doesn't get closed.

Screenshots

This is how it looks when I add the DayPicker component

Screenshot 2024-06-24 at 4 13 28 PM

Your Environment