Skip to content

Commit

Permalink
[Menu] Fix scrolling issue (mui#12003)
Browse files Browse the repository at this point in the history
* [Menu] Position menu paper at same level as other relative components to unblock scrolling

* [Menu] Switch relative to translate3d technique for better coverage and layout

* Update Menu.js
  • Loading branch information
stephenway authored and Joe Shelby committed Jul 14, 2018
1 parent d1ce516 commit 4b65c73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/material-ui/src/Menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export const styles = {
maxHeight: 'calc(100% - 96px)',
// Add iOS momentum scrolling.
WebkitOverflowScrolling: 'touch',
// Fix a scrolling issue on Chrome.
transform: 'translateZ(0)',
},
};

Expand Down

0 comments on commit 4b65c73

Please sign in to comment.