We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 003868c commit d5e19f6Copy full SHA for d5e19f6
packages/base/src/compatibility/whenPolyfillLoaded.js
@@ -6,7 +6,9 @@ const whenPolyfillLoaded = () => {
6
}
7
8
polyfillLoadedPromise = new Promise(resolve => {
9
- if (window.WebComponents && window.WebComponents.waitFor) {
+ if (window.WebComponents
10
+ && !window.WebComponents.ready
11
+ && window.WebComponents.waitFor) {
12
// the polyfill loader is present
13
window.WebComponents.waitFor(() => {
14
// the polyfills are loaded, safe to execute code depending on their APIs
0 commit comments