@kengic/core.react 0.0.1-beta.34 → 0.0.1-beta.35

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.
@@ -45934,12 +45934,12 @@ function are(e) {
45934
45934
  modalFooterElement: O,
45935
45935
  modalHeaderElement: w,
45936
45936
  modalWrapElement: y
45937
- }), !i.current || !y || !b || !E || !w || !O ? m == null || m.disconnect() : (m = new ResizeObserver(() => {
45937
+ }), !i.current || !r.open || !y || !b || !E || !w || !O ? m == null || m.disconnect() : (m = new ResizeObserver(() => {
45938
45938
  D = E.offsetHeight;
45939
45939
  }), m.observe(E)), () => {
45940
45940
  m == null || m.disconnect(), Q();
45941
45941
  };
45942
- }, [i]), C.useEffect(() => {
45942
+ }, [i, !!r.open]), C.useEffect(() => {
45943
45943
  b && D > A && (b.style.height = `${A}px`);
45944
45944
  }, [b, D, A]), {
45945
45945
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/core.react",
3
- "version": "0.0.1-beta.34",
3
+ "version": "0.0.1-beta.35",
4
4
  "type": "module",
5
5
  "main": "./kengic-core.react.js",
6
6
  "module": "./kengic-core.react.js",