@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.
- package/kengic-core.react.js +2 -2
- package/package.json +1 -1
package/kengic-core.react.js
CHANGED
|
@@ -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
|
/**
|