Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: date picker in mdb modal

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

  • 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