-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace call to requestAnimationFrame in render function to update page content even if tab has lost focus #920
Comments
@afcapel we are facing this issue on a chat application please see the video examples at hotwired/turbo-rails#338 |
Indeed we have replaced ALL nextAnimationFrame for the nextMicroTask and it works, not sure which one did the trick tho. I've added a screen-recording with the working solution at hotwired/turbo-rails#338 |
@afcapel sorry for now replying before. I didn't test it in other browser and I had to implement a workaround when I've hit this bug few months ago. In other terms, I cannot easily test it on other browser now. @michelson seems to have a working solution, great! |
I guess we can close this since #1042 was merged |
Fixed in #1042 |
Here is the case we are facing:
Problem:
The text was updated successfully, but these errors were encountered: