[Modal] Breaking when modal container is shadowRoot and enable scroll lock #44726
Labels
component: modal
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
status: expected behavior
Does not imply the behavior is intended. Just that we know about it and can't work around it
status: waiting for author
Issue with insufficient information
Steps to reproduce
Steps:
Current behavior
When trying to render the Modal as the direct child of a shadow root, it throws errors and breaks the app.
Disable the scroll lock will get away with that but I don't think it's the proper way to resolve this issue.
Expected behavior
Should be able to render the Modal as the direct child of shadow root.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: Modal,ShadowRoot
The text was updated successfully, but these errors were encountered: