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

Can't swipe / scroll after clicking on image #5

Open
colmmcsharry opened this issue Jan 27, 2020 · 0 comments
Open

Can't swipe / scroll after clicking on image #5

colmmcsharry opened this issue Jan 27, 2020 · 0 comments

Comments

@colmmcsharry
Copy link

colmmcsharry commented Jan 27, 2020

Hi, So I'm using your component in two of my create-react-app websites. After I click on the image, it zooms in, and then I click elsewhere to close the modal. However, then, I'm no longer able to swipe or scroll until I click the image AGAIN, and close the modal again, and then i'm able to continue swiping or scrolling.

I am able to tap or click on other buttons/links on my page ok, it's just swiping or scrolling that gets disabled. On one of my sites, it only happens on mobile, and I just tried adding it on my other site, and here the issue happens on both phone and laptop. https://mcshazz.github.io/NetWorkers/ go to the About page, and click/unclick the dog, then try swipe or scoll up and down.

When I open your codesandbox on my phone, it works fine. I'm able to just open/close the modal once, and then can continue swiping / scrolling as usual.

Any idea what might be causing this behavior on my sites?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant