I’ve encountered similar issues with gesture handling in WebViews before. From what I know, the .modal styling can interfere with touch events in the WebView, especially if it’s positioned as fixed or absolute. One potential workaround is to try adjusting the z-index of the modal to ensure it’s not covering the WebView layer or using pointer-events: none; on the modal when it’s hidden. You might also want to consider using a different approach to manage the modal visibility, like transitioning it off-screen instead of using display: none;
1 Like