Topic: date picker in mdb modal

Manamapps free asked 4 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 4 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

  • ForumUser: 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