You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On mobile, when there is a button, slider, checbox etc... as part of the swipeable drawer edge (Demo), you cannot click on them, due to them inheriting the pointer-events: none style.
Forcefully overriding it to the pointer-events: all allows you to now click on the components, but can no longer open the draw when dragging with them.
Expected behavior 🤔
You should be able to swipe to open the drawer, and also interact with the components in the edge component.
Steps to reproduce 🕹
Please see demo:
Requires mobile touch emulation in order to see the effects:
Duplicates
Latest version
Current behavior 😯
On mobile, when there is a button, slider, checbox etc... as part of the swipeable drawer edge (Demo), you cannot click on them, due to them inheriting the
pointer-events: none
style.Forcefully overriding it to the
pointer-events: all
allows you to now click on the components, but can no longer open the draw when dragging with them.Expected behavior 🤔
You should be able to swipe to open the drawer, and also interact with the components in the edge component.
Steps to reproduce 🕹
Please see demo:
Requires mobile touch emulation in order to see the effects:
https://codesandbox.io/s/swipeableedgedrawer-material-demo-forked-d3shm?file=/demo.js
Context 🔦
We have a swipeable edge drawer, that is really hard to open due to having a large button in it.
I have already identified and come up with a solution in my PR.
Your environment 🌎
`npx @mui/envinfo`
Tested in multiple browsers, on both desktop and mobile, both iOS and Android.
The text was updated successfully, but these errors were encountered: