-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
TypeError: "'requestAnimationFrame' called on an object that does not implement interface Window." #6508
Labels
Comments
xenolithviktor
added a commit
to xenolithviktor/bootstrap-vue
that referenced
this issue
Mar 19, 2021
xenolithviktor
added a commit
to xenolithviktor/bootstrap-vue
that referenced
this issue
Mar 19, 2021
Fixed it and did a pull request, see #6511 |
jacobmllr95
added a commit
that referenced
this issue
May 4, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you! |
This was referenced Sep 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
TypeError: "'requestAnimationFrame' called on an object that does not implement interface Window."
The error occurs when running bootstrap-vue in the context of a WebExtension content script.
Steps to reproduce the bug
Use any bootstrap-vue component (for example
<b-form-input>
) that uses requestAF internally.Expected behavior
The problem is that globalThis !== window in a WebExtension content script (see facebook/react#16606)
requestAF needs to be bound to Window so that
this
points towindow
.Versions
Libraries:
Environment:
The text was updated successfully, but these errors were encountered: