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 needs `disableBackdropTransition` even with `hideBackdrop` or `BackdropProps.invisible`

See original GitHub issue
  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

No errors.

Current Behavior

Getting error:

SwipeableDrawer.js:346 Uncaught TypeError: Cannot read property 'style' of null
    at SwipeableDrawer.setPosition (SwipeableDrawer.js:346)
    at HTMLBodyElement.SwipeableDrawer._this.handleBodyTouchStart (SwipeableDrawer.js:134)

Steps to Reproduce

<SwipeableDrawer BackdropProps={{}} />
<SwipeableDrawer hideBackdrop />

Context

Your Environment

Tech Version
Material-UI v3.1.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
oliviertassinaricommented, Sep 22, 2018

@spirosikmd Yes please! 😃

1reaction
spirosikmdcommented, Sep 22, 2018

Hi @oliviertassinari! I would like to pick this up if it is possible. Let me know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

SwipeableDrawer needs `disableBackdropTransition ... - GitHub
SwipeableDrawer needs disableBackdropTransition even with hideBackdrop or BackdropProps.invisible #12949. Closed. 2 tasks done.
Read more >
Transparent Swipeable drawer Material-UI - Stack Overflow
Using the BackdropProps of Modal you can able to set the background to transparent. Create a styles variable and apply the necessary styles....
Read more >
Package Diff: @material-ui/core @ 3.5.1 .. 3.9.3
var _react = _interopRequireDefault(require("react")); ... invisible: false ... +- [SwipeableDrawer] Ignore open swipe if it didn't start on the swipe area ...
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