boron
boron copied to clipboard
Animations stop triggering on iOS after the page loses focus
For some reason animations stop triggering on iOS after the browser or page loses focus (switching apps or tabs) and since its waiting for the transitionend event to execute the show/hide callbacks, it makes all modals stop working. Tried adding a delay to all animations but it didn't seem to fix the problem.
This is the workaround I ended up implementing: https://github.com/iwano/boron/commit/f0737ae8cdffdd04838f1253021d4d09f6bf5321
+1