Skip to content

Commit

Permalink
[Drawer] Add touchAction: 'none' on the Overlay to disable scrolling (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jlascoleassi authored and oliviertassinari committed Jul 31, 2018
1 parent d89cf80 commit e15e3a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/material-ui/src/Backdrop/Backdrop.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export const styles = {
backgroundColor: 'rgba(0, 0, 0, 0.5)',
// Remove grey highlight
WebkitTapHighlightColor: 'transparent',
// Disable scroll capabilities.
touchAction: 'none',
},
/* Styles applied to the root element if `invisible={true}`. */
invisible: {
Expand Down

0 comments on commit e15e3a2

Please sign in to comment.