Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page becomes unresponsive after closing a modal in iOS webkit, safari & chrome #25371

Open
2 tasks done
alexfoxy opened this issue Mar 15, 2021 · 3 comments
Open
2 tasks done
Labels
external dependency Blocked by external dependency, we can’t do anything about it

Comments

@alexfoxy
Copy link

alexfoxy commented Mar 15, 2021

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

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:

  1. Visit https://book.secretspa.co.uk/categories/Nails on an iPhone
  2. Scroll down the page
  3. Press a treatments "Book Now" button
  4. Close the modal that opens
  5. Try and press on another element
  6. It doesn't always happen so I suggest trying a few times.

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
@alexfoxy alexfoxy added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Mar 15, 2021
@oliviertassinari
Copy link
Member

@alexfoxy What version of iOS are you using? I have tried iOS 14.4 on an iPhone 12 Pro Max simulator, no issues.

@oliviertassinari oliviertassinari added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 21, 2021
@alexfoxy
Copy link
Author

@alexfoxy What version of iOS are you using? I have tried iOS 14.4 on an iPhone 12 Pro Max simulator, no issues.

I am using 14.4 on both. It is a bit tricky to reproduce. Try scrolling down the page and then opening and closing a modal a few times. I have had other testers reproduce it so it's not just my device.

@oliviertassinari oliviertassinari added external dependency Blocked by external dependency, we can’t do anything about it and removed status: waiting for author Issue with insufficient information labels Mar 22, 2021
@vazgabriel
Copy link

I believe it's similar to this: #32286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external dependency Blocked by external dependency, we can’t do anything about it
Projects
None yet
Development

No branches or pull requests

3 participants