-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SwipeableDrawer] Portal inside shadow DOM mobile touch event ignored #37639
Comments
This comment was marked as resolved.
This comment was marked as resolved.
@Mohanrau What is your use case for having the Swipeable Drawer component inside a Shadow DOM? |
Hi @ZeeshanTamboli i have a worpress plugin that has custom react components and i have a custom theme, so to avoid css override, i use shadow dom. |
@ZeeshanTamboli I think i have the same problem. |
While shadow DOM isn't commonly used, I've labeled this as a bug since we have documentation for it at https://mui.com/material-ui/guides/shadow-dom/. The fix could be to use |
Shadow DOM is a niche use case, but it seems to be a low effort, it would make sense. We also support different windows (popup, iframes) with |
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/lingering-water-wr6cqx
Steps:
Current behavior 😯
Mobile touch events ignored if MuiModal use ShadowDom as container.
Expected behavior 🤔
Working on mobile
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: