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.

Safari 16 on iOS not firing (some) touch events on Standalone Web App
 
 
Q