Skip to content

Commit

Permalink
Update boundry element
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimgm committed Sep 26, 2020
1 parent 3e5652e commit a57ac50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Popper/Popper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a57ac50

Please sign in to comment.