Skip to content

onRest not called when tab isn't visible #1566

Answered by joshuaellis
YassienW asked this question in Support
Discussion options

You must be logged in to vote

This feels OOS for react-spring at current. We use requestAnimationFrame which be design of the web API doesn't not fire when the tab is not visible... we could have an option in the config if you're interested in implementing this feature?

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by YassienW
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1565 on June 10, 2021 21:58.