mui/material-ui-pickers

Select does not close DateRangePicker

dborstelmann opened this issue ยท 1 comments

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior ๐Ÿ˜ฏ

DateRangePicker does not close when you select start and end.

Expected Behavior ๐Ÿค”

DateRangePicker should close when you select start and end.

Steps to Reproduce ๐Ÿ•น

https://codesandbox.io/s/stupefied-waterfall-9md45?fontsize=14&hidenavigation=1&theme=dark

Steps:

  1. Click start
  2. Select a date
  3. Select a later end date
  4. Notice picker does not close

Context ๐Ÿ”ฆ

Your Environment ๐ŸŒŽ

React app with material v5 (also saw this on v4).

Tech Version
@material-ui/core v5.0.0-alpha.24
React 16.3
Browser Chrome (Mac)
TypeScript Yes