Hey,
I’m using the s-modal web component in my Shopify app and facing an issue specifically on iPad devices.
When I click the trigger button on an iPad, nothing happens — the modal does not open.
However, on all other devices (desktop, Android, iPhone), the s-modal opens correctly when the same trigger button is clicked.
This makes it seem like the modal trigger is not responding or not being registered on iPads.
Issue Details:
-
Component:
s-modal(Polaris Web Component) -
Issue: Modal does not open when clicking the trigger button on iPad
-
Expected: Modal should open consistently across all devices
-
Actual: No response on iPad; works fine on other devices
Steps to Reproduce:
-
Render an
s-modalweb component. -
Add a button configured to trigger the modal.
-
Open the page on an iPad (Safari/Chrome).
-
Click the trigger button.
-
Observe that the modal does not open.
Additional Notes:
-
Verified that the button click event is firing on other devices.
-
No console errors observed.
-
May be related to touch event handling or compatibility with iPadOS browsers.
Could someone please help identify if this is a known issue or if there is any workaround for enabling s-modal on iPad devices?
Thank you!