Open abhi4pr opened 3 years ago
So, I have finally able to close the date range once you select the date. here is the working code hope this will help you to solve your problem.
https://codesandbox.io/s/react-date-range-autoclose-forked-s5fjm?file=/src/DateRangeFilter.js
Date range should be automatically closed when i click on any date or after selecting date range.