Skip to content
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

Fixes #522 by binding requestAnimationFrame to window #783

Merged

Conversation

gsoltis
Copy link
Contributor

@gsoltis gsoltis commented Dec 12, 2019

This is a no-op in most contexts, but in Firefox content-scripts, this allows requestAnimationFrame to function properly. For more details, see React dealing with the same issue: facebook/react#16606

I unfortunately don't have a minimal repo, but can confirm this fixed #522 in my extension.

…w`. This is a no-op in most contexts, but in Firefox content-scripts, this allows `requestAnimationFrame` to function properly.
@davidjbradshaw
Copy link
Owner

Looks good, will try and find time to test and merge it this week.

@davidjbradshaw davidjbradshaw merged commit 92fc77f into davidjbradshaw:master Dec 30, 2019
@davidjbradshaw
Copy link
Owner

Released as v4.2.9

Thanks and sorry for the delay

@gsoltis
Copy link
Contributor Author

gsoltis commented Dec 30, 2019

No worries, thanks for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iFrameResizer doesn't work in Firefox Extension environment
2 participants