Skip to content

Conversation

@ssherigar-c-eightfold
Copy link
Contributor

@ssherigar-c-eightfold ssherigar-c-eightfold commented Jan 2, 2026

SUMMARY:

Dropdown options can be navigated using both Tab and Arrow keys.
shouldCloseOnTab prop has been introduced,
By default, this prop is set to false, so pressing the Tab key does not close the dropdown and focus moves within the options
To make the dropdown close via Tab key, pass the shouldCloseOnTab prop

GITHUB ISSUE (Open Source Contributors)

JIRA TASK (Eightfold Employees Only):

CHANGE TYPE:

  • Bugfix Pull Request
  • Feature Pull Request

TEST COVERAGE:

  • Tests for this change already exist
  • I have added unittests for this change

TEST PLAN:

Navigate to any dropdown
By default, the dropdown options are accessible using the Arrow keys and Tab
Pressing the Tab key focus moves inside the dropdown options
To make the dropdown close via Tab key, pass the shouldCloseOnTab prop

Screen.Recording.2026-01-02.at.4.07.11.PM.mov

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 2, 2026

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

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.

1 participant