Day Picker component stays Open even after selecting a date #2221
Unanswered
zain-getdirectholidays
asked this question in
Support
Replies: 1 comment
-
I use a handler funtion for show/hide const handleDateChange = (date) => { |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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](https://private-user-images.githubusercontent.com/169983176/342315619-0dcddedd-2639-4d97-9288-844bd8487aab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODkzNDgsIm5iZiI6MTczOTE4OTA0OCwicGF0aCI6Ii8xNjk5ODMxNzYvMzQyMzE1NjE5LTBkY2RkZWRkLTI2MzktNGQ5Ny05Mjg4LTg0NGJkODQ4N2FhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQxMjA0MDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMjcxMjMxNDkyNDcwODAzYzQzMWY4ZjI5ZmFiYzVkODRkODcxOTUzNmEwZTM1ZTU1M2NmNzAyYmY2MGE4MzlhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.z5zNh_gzIBXAyCECBaf_tzLL4KKwPX0fSr1wcvdIEFY)
Your Environment
Beta Was this translation helpful? Give feedback.
All reactions