[pickers] FocusTrap: Uncaught RangeError: Maximum call stack size exceeded #15069
Labels
component: pickers
This is the name of the generic UI component, not the React module!
status: waiting for author
Issue with insufficient information
Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/silly-pare-9hlp73
Steps:
Simple Dialog
Uncaught RangeError: Maximum call stack size exceeded.
error in the consoleCurrent behavior
After opening the DatePicker menu and another dialog on top of it, clicking anywhere inside the Dialog triggers a Maximum call stack size exceed error inside
FocusTrap
.Expected behavior
The
Uncaught RangeError: Maximum call stack size exceeded.
error should not be thrown.Context
In the real application we need to validate the selected dates and show a confirmation message inside a dialog on certain criteria, but clicking anywhere inside the Dialog throws an error and it closes the DatePicker selection menu (not sure if this is expected).
Your environment
npx @mui/envinfo
Search keywords: pickers,datepickers,focustrap
The text was updated successfully, but these errors were encountered: