Lab: TreeView inside Shadow Root crashes #36224
Labels
component: tree view
TreeView, TreeItem. This is the name of the generic UI component, not the React module!
package: lab
Specific to @mui/lab
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example:
https://codesandbox.io/s/throbbing-paper-pjlwnz?file=/src/App.tsx
(Theming is broken but thats not part of the issue)
Steps:
Current behavior 😯
The application crashes because the TreeView can't be found.
Expected behavior 🤔
The TreeItem should be properly opened and the Children should be displayed.
Context 🔦
The issue only happens if the application is rendered inside a shadow root.
Your environment 🌎
npx @mui/envinfo
The issue happens in Chrome and Safari.
The text was updated successfully, but these errors were encountered: