@skeletonlabs/skeleton 1.9.0-dev.760e846d → 1.9.0-dev.81ab2306
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.
|
@@ -108,8 +108,6 @@ export function popup(triggerNode, args) {
|
|
|
108
108
|
elemPopup.style.display = 'block';
|
|
109
109
|
elemPopup.style.opacity = '1';
|
|
110
110
|
elemPopup.style.pointerEvents = 'auto';
|
|
111
|
-
// enable popup interactions
|
|
112
|
-
elemPopup.removeAttribute('inert');
|
|
113
111
|
// Trigger Floating UI autoUpdate (open only)
|
|
114
112
|
// https://floating-ui.com/docs/autoUpdate
|
|
115
113
|
popupState.autoUpdateCleanup = autoUpdate(triggerNode, elemPopup, render);
|
|
@@ -129,8 +127,7 @@ export function popup(triggerNode, args) {
|
|
|
129
127
|
args.state({ state: popupState.open });
|
|
130
128
|
// Update the DOM
|
|
131
129
|
elemPopup.style.opacity = '0';
|
|
132
|
-
|
|
133
|
-
elemPopup.setAttribute('inert', '');
|
|
130
|
+
elemPopup.style.pointerEvents = 'none';
|
|
134
131
|
// Cleanup Floating UI autoUpdate (close only)
|
|
135
132
|
if (popupState.autoUpdateCleanup)
|
|
136
133
|
popupState.autoUpdateCleanup();
|