Skip to content

Fix/textarea vertical resize 315#617

Open
flacoman91 wants to merge 3 commits into
mainfrom
fix/textarea-vertical-resize-315
Open

Fix/textarea vertical resize 315#617
flacoman91 wants to merge 3 commits into
mainfrom
fix/textarea-vertical-resize-315

Conversation

@flacoman91

@flacoman91 flacoman91 commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

This updates the textarea component, restricting it from horizontal resizing and other bugs fixed.

The full width variant view wasn't working correctly when you view it in the "multi viewport" mode.

closes: #315

Changes

  • Restricts resizing to vertical only thank you @arpitjain099 Restrict TextArea resizing to vertical only #616
  • Adds form-field.scss which brings in the 100% width
  • fix markup pattern to match DS. only wrap textarea in m-form-field when textarea isFullWidth
  • Fixes example in storybook
  • refactor text input to also keep things DRY

How to test this PR

  1. Go to examples and confirm they're good:

TextArea

Production (broken)
https://cfpb.github.io/design-system-react/?path=/story/components-verified-text-inputs-text-area--full-width&globals=responsivePreview:all

Preview (fixed)
https://cfpb.github.io/design-system-react/pr-previews/pr-617/?path=/story/components-verified-text-inputs-text-area--full-width&globals=responsivePreview:all

TextInput
https://cfpb.github.io/design-system-react/pr-previews/pr-617/?path=/story/components-verified-text-inputs-text-input--full-width&globals=responsivePreview:all

arpitjain099 and others added 2 commits June 18, 2026 06:29
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cfpb.github.io/design-system-react/pr-previews/pr-617/

Built to branch gh-pages at 2026-06-18 14:57 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@flacoman91 flacoman91 marked this pull request as ready for review June 18, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TextArea] Restrict resizing to the vertical axis

2 participants