@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.
@@ -1715,7 +1715,10 @@ const ControlledMenuFr = ({ "aria-label": ariaLabel, className, containerProps,
1715
1715
  reposition,
1716
1716
  viewScroll,
1717
1717
  ]);
1718
- const isWithinMenu = useCallback((target) => hasParentClass("szh-menu--state-open", target), []);
1718
+ const isWithinMenu = useCallback((target) => hasParentClass("szh-menu--state-open", target) ||
1719
+ // This is temporary, it will be removed when the overlay click is fixed
1720
+ hasParentClass("LuiModalPrefab", target) ||
1721
+ hasParentClass("prefab-modal", target), []);
1719
1722
  const handleScreenEventForSave = useCallback((ev) => {
1720
1723
  if (!isWithinMenu(ev.target)) {
1721
1724
  ev.preventDefault();