From a7d914fe98dcb02157db29ae1ebfa49dac774556 Mon Sep 17 00:00:00 2001 From: Rohan Chakraborty Date: Wed, 15 Apr 2026 01:54:06 +0530 Subject: [PATCH 1/2] fix: textarea overflow, default rows, and size/variant API (#645) Fix overflow: hidden preventing scroll, replace CSS min-height with native rows attribute (default 3), and add size/variant CVA variants to align TextArea API with InputField. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../text-area/__tests__/text-area.test.tsx | 42 +++++++++++++++++++ .../components/text-area/text-area.module.css | 34 ++++++++++++++- .../components/text-area/text-area.tsx | 32 ++++++++++++-- 3 files changed, 103 insertions(+), 5 deletions(-) diff --git a/packages/raystack/components/text-area/__tests__/text-area.test.tsx b/packages/raystack/components/text-area/__tests__/text-area.test.tsx index a876ffc30..99920a15f 100644 --- a/packages/raystack/components/text-area/__tests__/text-area.test.tsx +++ b/packages/raystack/components/text-area/__tests__/text-area.test.tsx @@ -108,6 +108,48 @@ describe('TextArea', () => { }); }); + describe('Rows', () => { + it('defaults to 3 rows', () => { + render(