You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addendum : The timeline.pause is fired when the focus is lost, when i click for exemple on the volume bar of windows.
The bug seems to be specific when I'm leaving the current tab
Anime internally uses requestAnimationFrame to run the animations. According to the spec, the callbacks will not fire if the page is not visible. So you shouldn't have to observe page visibility at all.
Describe the bug
As the title says : Leaving the tab doesn't pause the timeline when calling timeline.pause() on blur event
To Reproduce
I've made a js fiddle here to reproduce the bug : https://jsfiddle.net/mjh70dsa/27/
Expected behavior
When I'm leaving the tab, the method timeline.pause() is triggered.
Desktop (please complete the following information):
Thanks in advance ;) !
The text was updated successfully, but these errors were encountered: