From 1bd12d7d6bd28db2935b60738bb7cc0acdb7941a Mon Sep 17 00:00:00 2001 From: Tommy Jackson Date: Mon, 3 Feb 2020 16:18:12 +0000 Subject: [PATCH 1/3] added a comment on page to where I will start with the pr work --- packages/material-ui/src/Backdrop/Backdrop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/material-ui/src/Backdrop/Backdrop.js b/packages/material-ui/src/Backdrop/Backdrop.js index 543bf69146e243..c6ccdba8306609 100644 --- a/packages/material-ui/src/Backdrop/Backdrop.js +++ b/packages/material-ui/src/Backdrop/Backdrop.js @@ -4,6 +4,7 @@ import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import Fade from '../Fade'; +//work to be done here export const styles = { /* Styles applied to the root element. */ root: { From f049fabab3ad5f13d8b88eff07f37edb1b8bdb5a Mon Sep 17 00:00:00 2001 From: Tommy Jackson Date: Mon, 3 Feb 2020 16:59:09 +0000 Subject: [PATCH 2/3] removed comment:Disable scroll capabilitiand touchAction from constant styles found in Backdrop and SimpleBackdrop js files. --- packages/material-ui/src/Backdrop/Backdrop.js | 2 -- packages/material-ui/src/Modal/SimpleBackdrop.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/packages/material-ui/src/Backdrop/Backdrop.js b/packages/material-ui/src/Backdrop/Backdrop.js index c6ccdba8306609..9b24b43249d9b8 100644 --- a/packages/material-ui/src/Backdrop/Backdrop.js +++ b/packages/material-ui/src/Backdrop/Backdrop.js @@ -20,8 +20,6 @@ export const styles = { left: 0, backgroundColor: 'rgba(0, 0, 0, 0.5)', WebkitTapHighlightColor: 'transparent', - // Disable scroll capabilities. - touchAction: 'none', }, /* Styles applied to the root element if `invisible={true}`. */ invisible: { diff --git a/packages/material-ui/src/Modal/SimpleBackdrop.js b/packages/material-ui/src/Modal/SimpleBackdrop.js index ec76fd345d5d6a..c15705f26ccb6f 100644 --- a/packages/material-ui/src/Modal/SimpleBackdrop.js +++ b/packages/material-ui/src/Modal/SimpleBackdrop.js @@ -12,8 +12,6 @@ export const styles = { left: 0, backgroundColor: 'rgba(0, 0, 0, 0.5)', WebkitTapHighlightColor: 'transparent', - // Disable scroll capabilities. - touchAction: 'none', }, /* Styles applied to the root element if `invisible={true}`. */ invisible: { From 61a15ab337ab7d6f2a8d1e226f3afae96c15fd17 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 3 Feb 2020 22:27:05 +0100 Subject: [PATCH 3/3] fix lint error --- packages/material-ui/src/Backdrop/Backdrop.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/material-ui/src/Backdrop/Backdrop.js b/packages/material-ui/src/Backdrop/Backdrop.js index 9b24b43249d9b8..2b919c680bc610 100644 --- a/packages/material-ui/src/Backdrop/Backdrop.js +++ b/packages/material-ui/src/Backdrop/Backdrop.js @@ -4,7 +4,6 @@ import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import Fade from '../Fade'; -//work to be done here export const styles = { /* Styles applied to the root element. */ root: {