@homebound/beam 2.369.6 → 2.369.7
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.
|
@@ -36,6 +36,9 @@ function useGrowingTextField({ inputRef, inputWrapRef, value, disabled }) {
|
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
38
|
onHeightChange();
|
|
39
|
+
// This is a hack to re-measure the height of the textarea after all the content has been rendered (i.e. after multiple GridTable children have been rendered)
|
|
40
|
+
// See the InVirtualizedTable storybook for reproducing this behavior
|
|
41
|
+
setTimeout(() => onHeightChange(), 200);
|
|
39
42
|
}
|
|
40
43
|
}, [onHeightChange, value, inputRef, disabled, inputWrapRef]);
|
|
41
44
|
}
|