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?
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?