Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateRangePicker issue when rendered inside a Modal #1777

Closed
neokike opened this issue May 16, 2020 · 1 comment
Closed

DateRangePicker issue when rendered inside a Modal #1777

neokike opened this issue May 16, 2020 · 1 comment
Labels
component: DateRangePicker duplicate This issue or pull request already exists

Comments

@neokike
Copy link

neokike commented May 16, 2020

Environment

Tech Version
@material-ui/pickers v4.0.0-alpha7
material-ui v4.9.11
React v16.13.1
Peer library date-fns

Steps to reproduce

  1. render the DateRangePicker inside a Dialog
  2. click on the start input
  3. select a date from the calendar

Expected behavior

the picker calendar popup should stay open when selecting the start date

Actual behavior

the picker calendar popup close when start date is selected

Live example

https://codesandbox.io/s/range-picker-issue-f9g99?file=/index.js

@oliviertassinari oliviertassinari added question duplicate This issue or pull request already exists and removed question labels May 16, 2020
@oliviertassinari
Copy link
Member

@neokike Duplicate of mui/material-ui#15694

@oliviertassinari oliviertassinari changed the title DateRangePicker issue when rendered inside a Dialog DateRangePicker issue when rendered inside a Modal May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: DateRangePicker duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants