react-mdl
react-mdl copied to clipboard
Open menu jumps up when page is scrolled down in Chrome
This happens on Ubuntu 16.04 and OSX El Capitan (Chrome Version 53.0.2785.116 (64-bit))
Steps to reproduce:
- open https://tleunen.github.io/react-mdl/components/menu/
- scroll down
- open menu
- menu is opened and page jumps (scrolls) up
- close menu and page jumps back
Can anyone please confirm this? Note that this does not happen on vanila MDL https://getmdl.io/components/index.html#menus-section so I assume that this is a bug in React MDL.
This happens when the menu is inside Layout > Content
.
MDL issue https://github.com/google/material-design-lite/issues/4640
Weird, I cannot reproduce it with the same version of Chrome, but on macOS Sierra.
Reproduced on Chrome 53.0.2785.116 (64-bit), Ubuntu 14.04
I have seen this issue on Chrome 53 / Linux. It appears to be a rendering glitch and not any actual scrolling. In our case, setting transform: scale(1)
on the content area that was corrupted solved the issue.