@servantcdh/ez-planet-labeling 1.0.3 → 1.0.4
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/index.js +7 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3589,7 +3589,7 @@ const LIB_AUTHOR = "최동호";
|
|
|
3589
3589
|
const LIB_CONTACT = "servantcdh@naver.com";
|
|
3590
3590
|
const __EZ_PLANET_META__ = Object.freeze({
|
|
3591
3591
|
name: LIB_NAME,
|
|
3592
|
-
version: "1.0.
|
|
3592
|
+
version: "1.0.4",
|
|
3593
3593
|
author: LIB_AUTHOR,
|
|
3594
3594
|
contact: LIB_CONTACT,
|
|
3595
3595
|
license: "Proprietary — See LICENSE"
|
|
@@ -16458,7 +16458,9 @@ function WorkspaceNavigationDetailTable({
|
|
|
16458
16458
|
},
|
|
16459
16459
|
[]
|
|
16460
16460
|
);
|
|
16461
|
-
const
|
|
16461
|
+
const [scrollContainer, setScrollContainer] = useState(
|
|
16462
|
+
null
|
|
16463
|
+
);
|
|
16462
16464
|
useEffect(() => {
|
|
16463
16465
|
const wrapper = wrapperRef.current;
|
|
16464
16466
|
if (!wrapper) return;
|
|
@@ -16466,16 +16468,16 @@ function WorkspaceNavigationDetailTable({
|
|
|
16466
16468
|
while (el) {
|
|
16467
16469
|
const style = getComputedStyle(el);
|
|
16468
16470
|
if (style.overflow === "auto" || style.overflow === "scroll" || style.overflowY === "auto" || style.overflowY === "scroll") {
|
|
16469
|
-
|
|
16471
|
+
setScrollContainer(el);
|
|
16470
16472
|
return;
|
|
16471
16473
|
}
|
|
16472
16474
|
el = el.parentElement;
|
|
16473
16475
|
}
|
|
16474
|
-
|
|
16476
|
+
setScrollContainer(wrapper);
|
|
16475
16477
|
}, []);
|
|
16476
16478
|
const rowVirtualizer = useVirtualizer({
|
|
16477
16479
|
count: rows.length,
|
|
16478
|
-
getScrollElement: () =>
|
|
16480
|
+
getScrollElement: () => scrollContainer,
|
|
16479
16481
|
estimateSize: () => 24,
|
|
16480
16482
|
overscan: 15
|
|
16481
16483
|
});
|