Open smhutch opened 2 weeks ago
@emilkowalski what's the purpose of this condition? I found that removing it fixed the issues we have been seeing on a standalone PWA. I assume it has some purpose though.
The same issue is occurring in iOS app WebViews, not just PWAs. As a workaround, we resolved it by setting the WebView's User Agent to match Safari's UA as shown in the link below: https://www.whatismybrowser.com/guides/the-latest-user-agent/ios However, we hope it can be made to work without depending on the UA.
Drawer
content is unusable when:manifest.json
with"display": "standalone",
Recording of issue
https://github.com/user-attachments/assets/623a1ece-b120-4e5b-8255-e2c3fef6e585
In this recording I:
Drawer
at the top of the page. I can interact with it as normal and click on the button to show the alert.Drawer
(same component as above).Minimal repro