Page becomes unresponsive after closing a modal in iOS webkit, safari & chrome #25371
Open
2 tasks done
Labels
external dependency
Blocked by external dependency, we can’t do anything about it
Current Behavior 😯
After closing a modal the screen becomes unresponsive to press/click events until the page is scrolled again. This is only an issue on iOS (simulators and real devices). It also only happens after you have scrolled down the page. See the video: https://photos.app.goo.gl/8GXMzb5iEUKC11jw9
Note, in the video it works as expected until I scroll down the page.
Expected Behavior 🤔
After closing a modal the page should respond to press/click events.
Steps to Reproduce 🕹
Steps:
Context 🔦
I have tried to reproduce this in a codepen but it seemed to work as expected. I've inspected the DOM on the website in question when the issue happens and there's nothing I can see that is overlapping the view.
I understand this is a difficult bug to help with as I cannot provide a code pen example, however I wonder if anyone might be able to suggest why this is happening so I can hunt down the issue.
Your Environment 🌎
System: OS: macOS 11.2.3 Binaries: Node: 12.19.0 - /usr/local/bin/node Yarn: 1.21.1 - /usr/local/bin/yarn npm: 6.14.8 - /usr/local/bin/npm Browsers: Chrome: 89.0.4389.82 Edge: Not Found Firefox: Not Found Safari: 14.0.3 npmPackages: @material-ui/core: ^4.11.0 => 4.11.3 @material-ui/icons: ^4.11.0 => 4.11.2 @material-ui/lab: ^4.0.0-alpha.57 => 4.0.0-alpha.57 @material-ui/pickers: 3.2.10 => 3.2.10 @material-ui/styles: 4.11.3 @material-ui/system: 4.11.3 @material-ui/types: 5.1.0 @material-ui/utils: 4.11.2 @types/react: ^16.9.19 => 16.9.34 react: ^17.0.0 => 17.0.1 react-dom: ^17.0.0 => 17.0.1 typescript: ^4.1.3 => 4.1.5
The text was updated successfully, but these errors were encountered: