You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 to window.
Versions
Libraries:
BootstrapVue: 2.21.2
Bootstrap: 4.6.0
Vue: 2.6.11
Environment:
Device: PC
OS: Windows 10
Browser: Mozilla Firefox
Version: 86.0.1
The text was updated successfully, but these errors were encountered:
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!
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: