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:
- Created 5 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top 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 >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
@spirosikmd Yes please! 😃
Hi @oliviertassinari! I would like to pick this up if it is possible. Let me know!