@abdellatifui/react 3.1.88 → 3.1.89

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/nextgen.js CHANGED
@@ -12500,8 +12500,12 @@ const Sidebar = forwardRef((props, ref) => {
12500
12500
  }
12501
12501
  }, [isOpen]);
12502
12502
  useEffect(() => {
12503
+ var _a;
12503
12504
  if (defaultOpen) {
12504
- setIsOpen(true);
12505
+ (_a = modelRef.current) == null ? void 0 : _a.open();
12506
+ window.setTimeout(() => {
12507
+ setIsOpen(true);
12508
+ }, 50);
12505
12509
  }
12506
12510
  }, [defaultOpen]);
12507
12511
  const mergedModelProps = useMemo(() => ({