date picker in mdb modal


Topic: date picker in mdb modal

Manamapps asked 5 years ago

Expected behavior work Actual behavior gives error Modal.js?a179:227 Uncaught RangeError: Maximum call stack size exceeded. Resources (screenshots, code snippets etc.)


Jakub Chmura staff premium answered 5 years ago

HI @Manamapps,

We know that case. It's because of focus trap on modal. A MDBDatePicker appear as a modal and focus trap on your modal causes problems because it block DatePicker. You need to add disableFocusTrap prop to your modal. Then everything should work great.

Best, Kuba


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.23.1
  • Device: desktop
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No