A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/issues/6508 below:

"'requestAnimationFrame' called on an object that does not implement interface Window." · Issue #6508 · bootstrap-vue/bootstrap-vue · GitHub

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 to window.

Versions

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