@octaviaflow/core 3.1.0-beta.90 → 3.1.0-beta.91
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
|
@@ -30967,7 +30967,13 @@ function SlideoutContent({
|
|
|
30967
30967
|
{
|
|
30968
30968
|
isOpen: open,
|
|
30969
30969
|
onClose,
|
|
30970
|
-
isDismissable: true
|
|
30970
|
+
isDismissable: true,
|
|
30971
|
+
// Don't treat a click inside a PORTALED floating element (Select /
|
|
30972
|
+
// Combobox / MultiSelect / DatePicker / DropdownMenu / ContextMenu — all
|
|
30973
|
+
// marked data-ods-floating and rendered to <body>, i.e. outside this
|
|
30974
|
+
// panel's DOM) as an outside click. Without this, opening a dropdown or
|
|
30975
|
+
// picking an option inside the sheet dismisses the whole sheet.
|
|
30976
|
+
shouldCloseOnInteractOutside: (el) => !el.closest?.("[data-ods-floating]")
|
|
30971
30977
|
},
|
|
30972
30978
|
overlayRef
|
|
30973
30979
|
);
|