From a57ac50bdf9deba41327fbedadc17196708c009a Mon Sep 17 00:00:00 2001 From: maksimgm Date: Sat, 26 Sep 2020 16:42:45 -0700 Subject: [PATCH] Update boundry element --- packages/material-ui/src/Popper/Popper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/Popper/Popper.js b/packages/material-ui/src/Popper/Popper.js index f5e70dce689301..67db3cf4310f79 100644 --- a/packages/material-ui/src/Popper/Popper.js +++ b/packages/material-ui/src/Popper/Popper.js @@ -129,7 +129,7 @@ const Popper = React.forwardRef(function Popper(props, ref) { : { // It's using scrollParent by default, we can use the viewport when using a portal. preventOverflow: { - boundariesElement: 'window', + boundariesElement: 'viewport', }, }), ...modifiers,