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 bugUse any bootstrap-vue component (for example <b-form-input>
) that uses requestAF internally.
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
.
Libraries:
Environment:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4