Topic: date picker in mdb modal

Manamapps premium asked 3 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 answered 3 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.


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



Specification of the issue

  • User: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: 4.23.1
  • Device: desktop
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No