[SwipeableDrawer] disableSwipeToClose
See original GitHub issue- [ x] I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
I’m in need of a disableSwipeToClose feature on the SwipeableDrawer component. I’m not sure if this exists right now. Is there currently a way to do this?
Examples 🌈
<SwipeableDrawer disableSwipeToClose={true} />
Motivation 🔦
I’ve integrated Slick slider in one of my Swipeable Drawers and I’d like to disable the swipeable drawer when I’m swiping through the Slider.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
[SwipeableDrawer] disableSwipeToClose · Issue #18884
I've integrated Slick slider in one of my Swipeable Drawers and I'd like to disable the swipeable drawer when I'm swiping through the...
Read more >SwipeableDrawer API - Material UI
API reference docs for the React SwipeableDrawer component. Learn about the props, CSS, and other APIs of this exported module.
Read more >Material-ui disable swipe in LeftNav
The LeftNav in current version of material-ui (v 0.14.4) can be set to disableSwipeToOpen . But there is no way to disable swipe...
Read more >How To Enable Interaction On A Bleeding Swipeabledrawer?
I have SwipeableDrawer open then I have a Dialog open/appears on If not a bug is it possible to add an API to...
Read more >How to create a Swipeable Drawer in Material UI - YouTube
Course Article:https://entryleveldeveloper.training/premium/article/andrewgbliss/how-to-create-a- swipeable-drawer -in-material-uiSocial ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You should be able to disable the drag feature when interacting with Slick by setting
event.muiHandled = true
on the touch start eventIs there a PR that resolves this? Would be really nice. PS: Setting this property to true doesn’t work for me and console.log shows that it’s undefined.