@linzjs/windows 13.0.0 → 14.0.0
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/dist/index.js
CHANGED
|
@@ -7655,9 +7655,11 @@ const PanelsContextProvider = ({
|
|
|
7655
7655
|
(pi) => panelIds.includes(pi.uniqueId)
|
|
7656
7656
|
);
|
|
7657
7657
|
if (!isEmpty(closedPanelInstances)) {
|
|
7658
|
-
|
|
7659
|
-
onClose
|
|
7660
|
-
|
|
7658
|
+
setTimeout(() => {
|
|
7659
|
+
closedPanelInstances.forEach(({ onClose }) => {
|
|
7660
|
+
onClose?.();
|
|
7661
|
+
});
|
|
7662
|
+
}, 0);
|
|
7661
7663
|
return stillOpenPanelInstances;
|
|
7662
7664
|
}
|
|
7663
7665
|
return panelInstances2;
|