@onehat/ui 0.4.88 → 0.4.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/package.json
CHANGED
|
@@ -1569,9 +1569,6 @@ function GridComponent(props) {
|
|
|
1569
1569
|
console.log(`${getMeasurementPhase()}, placeholder onLayout, call setIsInited(true)`);
|
|
1570
1570
|
}
|
|
1571
1571
|
setIsInited(true);
|
|
1572
|
-
if (onLayout) {
|
|
1573
|
-
onLayout(e);
|
|
1574
|
-
}
|
|
1575
1572
|
}}
|
|
1576
1573
|
className="w-full flex-1"
|
|
1577
1574
|
/>;
|
|
@@ -1716,6 +1713,10 @@ function GridComponent(props) {
|
|
|
1716
1713
|
onLayout={(e) => {
|
|
1717
1714
|
const containerHeight = e.nativeEvent.layout.height;
|
|
1718
1715
|
debouncedAdjustPageSizeToHeight(containerHeight);
|
|
1716
|
+
|
|
1717
|
+
if (onLayout) {
|
|
1718
|
+
onLayout(e);
|
|
1719
|
+
}
|
|
1719
1720
|
}}
|
|
1720
1721
|
className={className}
|
|
1721
1722
|
style={style}
|