question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
oliviertassinaricommented, Dec 17, 2019

You should be able to disable the drag feature when interacting with Slick by setting event.muiHandled = true on the touch start event

0reactions
nxtexecommented, Apr 27, 2021

Is 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found