Skip to content

Comments

fix: allow arrow up/down keys within focus trapped text area#417

Open
bpk9 wants to merge 2 commits intocoinbase:masterfrom
bpk9:bkasper/fix-web-textarea-focus-trap
Open

fix: allow arrow up/down keys within focus trapped text area#417
bpk9 wants to merge 2 commits intocoinbase:masterfrom
bpk9:bkasper/fix-web-textarea-focus-trap

Conversation

@bpk9
Copy link
Contributor

@bpk9 bpk9 commented Feb 21, 2026

What changed?

  1. Prevent focus trap from calling preventDefault() when up/down arrow keys are pressed within a textarea

Why?

  • Users are unable to navigate textareas via the keyboard when used within focus traps (typically via a modal)

Root cause (required for bugfixes)

UI changes

Web Old Web New
Before.mov
After.mov

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

Testing instructions

  1. Run storybook locally and go to http://localhost:6006/?path=/story/components-focustrap--text-area
  2. Verify up/down arrow keys allow you to move up/down through the textarea

Illustrations/Icons Checklist

Required if this PR changes files under packages/illustrations/** or packages/icons/**

  • verified visreg changes with Terran (include link to visreg run/approval)
  • all illustration/icons names have been reviewed by Dom and/or Terran

Change management

type=routine
risk=low
impact=sev5

automerge=false

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Feb 21, 2026

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 1
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1
CODEOWNERS 🟡 See below

🟡 CODEOWNERS

Code Owner Status Calculation
ui-systems-eng-team 🟡 0/1
Denominator calculation
Additional CODEOWNERS Requirement
Show calculation
Sum 0
0
From CODEOWNERS 1
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants