Post

Replies

Boosts

Views

Activity

Safari 16 on iOS not firing (some) touch events on Standalone Web App
I'm currently working on a React (non Native) web app and since updating to iOS 16 i'm experiencing this oddly specific bug. The 'ontouchstart' and 'ontouchend' events don't fire if i tap on any element twice quickly (i.e. two times in less than 500ms or so). The 'onclick' event does fire every time. The weird thing is this only happens when the web app is running on standalone mode (home screen shortcut). It works fine on Safari itself. Also, if i go into Safari's settings and tap on 'Clear History and Browsing Data' the problem goes away until i refresh the page. And i don't think it's a bug with my code because it works fine on iOS 15 and on Chrome on Android. Is this a Safari bug? Has anyone else experienced this? I made a similar post a few weeks ago but at the time i thought it was a performance issue. Now i know it's related to touch events.
0
0
944
Oct ’22
Standalone PWA slow performance on iOS 16
I'm currently developing a React (non Native) PWA. It runs perfectly fine on Safari but if I add it to the home screen to run it on standalone mode the performance is much worse. I've had this issue on the iOS 16 betas and now on the official release too. If I go into Settings > Safari > Clear History and Website Data the performance improves but only for a while. Any ideas what could be causing this?
3
0
1.1k
Sep ’22