@nys-cui/cui-formpill 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cui-formpill.js +3 -1
package/package.json
CHANGED
package/src/cui-formpill.js
CHANGED
@@ -1298,7 +1298,9 @@ class CUI_FORMPILL extends HTMLElement {
|
|
1298
1298
|
|
1299
1299
|
if (this._state.dMenuPopover) {
|
1300
1300
|
this._state.dMenuPopover.state.bOpen = false;
|
1301
|
-
|
1301
|
+
if(this._state.dMenuPopover.isConnected) {
|
1302
|
+
document.body.removeChild(this._state.dMenuPopover);
|
1303
|
+
}
|
1302
1304
|
this._state.dMenuPopover = null;
|
1303
1305
|
}
|
1304
1306
|
|