Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

scroll lock in mobile #404

Open
saihaj opened this issue Nov 30, 2021 · 4 comments
Open

scroll lock in mobile #404

saihaj opened this issue Nov 30, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@saihaj
Copy link
Member

saihaj commented Nov 30, 2021

Sometimes on mobile when I am trying to scroll on https://graphql-helix.com it will get stuck and I won't be able to scroll down. If I try to zoom-in/out and then try to scroll it will work. Sometimes I will click around on the page then scroll will work.

@dimaMachina
Copy link
Collaborator

Saw it on the new codegen site also

@dimaMachina dimaMachina added the bug Something isn't working label Nov 30, 2021
@PabloSzx
Copy link
Contributor

PabloSzx commented Dec 10, 2021

I think it might have to do with #384 / react-sticky-box it isn't

@PabloSzx
Copy link
Contributor

This issue is easy to reproduce with the local example, simply going from the index to /docs using the menu on mobile, but I have been trying to fix it and the only thing I've been able to workaround is adding a CSS like:

article {
  height: 100vh
}

but that solution of course is bad, and it deteriorates the desktop experience, and a media query solution doesn't work either, it seems to be related with how scrollable/overflow elements are handled in touch-oriented browsers. I'm not a master on CSS at all.

@dimaMachina
Copy link
Collaborator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants