@linzjs/step-ag-grid 17.4.0 → 17.4.1
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/step-ag-grid.cjs.js
CHANGED
|
@@ -1736,7 +1736,10 @@ const ControlledMenuFr = ({ "aria-label": ariaLabel, className, containerProps,
|
|
|
1736
1736
|
reposition,
|
|
1737
1737
|
viewScroll,
|
|
1738
1738
|
]);
|
|
1739
|
-
const isWithinMenu = React.useCallback((target) => hasParentClass("szh-menu--state-open", target)
|
|
1739
|
+
const isWithinMenu = React.useCallback((target) => hasParentClass("szh-menu--state-open", target) ||
|
|
1740
|
+
// This is temporary, it will be removed when the overlay click is fixed
|
|
1741
|
+
hasParentClass("LuiModalPrefab", target) ||
|
|
1742
|
+
hasParentClass("prefab-modal", target), []);
|
|
1740
1743
|
const handleScreenEventForSave = React.useCallback((ev) => {
|
|
1741
1744
|
if (!isWithinMenu(ev.target)) {
|
|
1742
1745
|
ev.preventDefault();
|