From c512c5d2f41ac7d031dc1ab03c297ecd2d23a245 Mon Sep 17 00:00:00 2001 From: Geervan Date: Thu, 23 Jul 2026 10:58:02 +0530 Subject: [PATCH 1/2] fix(core): align loading spinner inside TextArea corner (#4232) --- apps/storybook/stories/TextArea.stories.tsx | 17 ++ packages/core/src/TextArea/TextArea.test.tsx | 184 +++++++++++-------- packages/core/src/TextArea/TextArea.tsx | 69 ++++--- 3 files changed, 161 insertions(+), 109 deletions(-) diff --git a/apps/storybook/stories/TextArea.stories.tsx b/apps/storybook/stories/TextArea.stories.tsx index 45178076c5e2..40dbecb4c594 100644 --- a/apps/storybook/stories/TextArea.stories.tsx +++ b/apps/storybook/stories/TextArea.stories.tsx @@ -83,6 +83,10 @@ const meta: Meta = { options: ['sm', 'md', 'lg'], description: 'Textarea size (affects padding, not height)', }, + isLoading: { + control: 'boolean', + description: 'Whether the textarea is in a loading state', + }, }, }; @@ -635,3 +639,16 @@ export const MaxLengthVariations: Story = { ); }, }; + +export const IsLoading: Story = { + render: args => { + const [value, setValue] = useState(args.value ?? ''); + return