@linzjs/lui 23.10.0 → 23.10.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [23.10.1](https://github.com/linz/lui/compare/v23.10.0...v23.10.1) (2025-08-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * don't resize on value change as it casues other issues ([#1245](https://github.com/linz/lui/issues/1245)) ([4cd682e](https://github.com/linz/lui/commit/4cd682e070e2d6eda3c79e3a0593100540726704))
7
+
1
8
  # [23.10.0](https://github.com/linz/lui/compare/v23.9.0...v23.10.0) (2025-08-07)
2
9
 
3
10
 
package/dist/index.js CHANGED
@@ -7223,11 +7223,12 @@ var LuiAutoExpandTextAreaInput = function (props) {
7223
7223
  // Set the height to match content
7224
7224
  element.style.height = height;
7225
7225
  }, []);
7226
+ // This is for when the cmoponent mounts, to make sure it's big when lots of test
7226
7227
  React.useEffect(function () {
7227
7228
  if (ref.current) {
7228
7229
  adjustHeight(ref.current);
7229
7230
  }
7230
- }, [props.value, adjustHeight]); // Re-run when value changes
7231
+ }, [adjustHeight]);
7231
7232
  // Since we can't directly use refs, we'll use a custom render approach
7232
7233
  // We'll handle the auto-resize via the onChange and onKeyUp events
7233
7234
  var customInputProps = __assign(__assign({}, props.inputProps), { onKeyUp: function (e) {