I have a web view that is displayed in the application, there is animation on the page, a digital timer, where I show images of each digit, for example, 00:39, 29:39, etc.
it is animated using setInterval in javascript inside the page, the problem is that when I click on the screen, i.e. touching without raising the finger the browser stops, that is, the animation no longer animates, it stops in place when my finger touches the screen, and it will continue the animation after I raise my finger.
how can i fix this? I heard that I can use the default method by default, but would not ignore all my events on the page?
basicaly besides the timer on my webpage, I also have stuff that the user can interact with, so he is looking for a click event, etc.
so I definitely want to keep it please help
this happens on the ios device ... if I run in the desktop browser, everything looks fine .. doesn't stop watching
source share