Swipe/touch support in web components #40651
Labels
component: SwipeableDrawer
The React component.
enhancement
This is not a bug, nor a new feature
package: material-ui
Specific to @mui/material
Duplicates
Summary
Swipeevents / Touchevents don't work inside a web component. In SwipeableDrawer.js there is the handleBodyTouchStart handler and the condition:
This prevents the drawer from opening because the native element is my web component. My local fix is this:
Examples
No response
Motivation
No response
Search keywords:
The text was updated successfully, but these errors were encountered: