element-internals-polyfill
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -459,6 +459,16 @@ (function () { | ||
const ref = customStateMap.get(this); | ||
ref.toggleAttribute(`state${state}`, false); | ||
if (ref.part) { | ||
ref.part.remove(`state${state}`); | ||
if (ref.isConnected) { | ||
ref.toggleAttribute(`state${state}`, false); | ||
if (ref.part) { | ||
ref.part.remove(`state${state}`); | ||
} | ||
} | ||
else { | ||
setTimeout(() => { | ||
ref.toggleAttribute(`state${state}`, false); | ||
if (ref.part) { | ||
ref.part.remove(`state${state}`); | ||
} | ||
}); | ||
} | ||
return result; | ||
@@ -465,0 +475,0 @@ } |
{ | ||
"name": "element-internals-polyfill", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "A polyfill for the element internals specification", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64778
1209