Skip to content

Commit 4b65c73

Browse files
stephenwayJoe Shelby
authored and
Joe Shelby
committed
[Menu] Fix scrolling issue (mui#12003)
* [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
1 parent d1ce516 commit 4b65c73

File tree

1 file changed

+2
-0
lines changed
  • packages/material-ui/src/Menu

1 file changed

+2
-0
lines changed

packages/material-ui/src/Menu/Menu.js

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export const styles = {
2626
maxHeight: 'calc(100% - 96px)',
2727
// Add iOS momentum scrolling.
2828
WebkitOverflowScrolling: 'touch',
29+
// Fix a scrolling issue on Chrome.
30+
transform: 'translateZ(0)',
2931
},
3032
};
3133

0 commit comments

Comments
 (0)