Skip to content

the animation is stopped when i switch the window tab many times #906

@JE-lee

Description

@JE-lee

Your system information

  • VelocityJS version: 2.0.5
  • Browser: 72.0.3626.121(32 位)
  • Operating System: windows 10

Checklist

  • Is this an issue with code?: No
  • Is this an issue with documentation?: No
  • Have you reproduced this in other browsers?: Yes
  • Have you checked for updates?:Yes
  • Have you checked for similar open issues?: Yes

Please describe your issue in as much detail as possible:

I have a series of animations to excute, so it may take a couple of time。
when the animation is executing, if i switch the window tab to make the current site invisible,
the animation is stoped。
and then it can't resume at every time when i return the site。
(sometimes it can resume ,but not every time)

JSFiddle example showing issue in action (code):

https://codepen.io/je-lee/pen/WmgaNz

Go to https://jsfiddle.net/Rycochet/mqv9L27u/ - click the "Fork" button at the top, create the example and copy the new URL back here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions