Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dropdown: fixed dropdown container focus issue #914

Merged

Conversation

sthakur-c-2-eightfold
Copy link
Contributor

SUMMARY:

Issue When the user navigating through dropdown using shift + tab the focus is moving to the dropdown list container.
Fix: Focus should not be moved on dropdown container, focus should be move to the dropdown items, when we use the tab or shift + tab.

GITHUB ISSUE (Open Source Contributors)

JIRA TASK (Eightfold Employees Only):

https://eightfoldai.atlassian.net/browse/ENG-118833

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:

  1. Open the dropdown
  2. Navigate between the dropdown items using tab and shift + tab
  3. Observe the dropdown container: focus should not be moved on dropdown container
Screen.Recording.2024-11-29.at.11.46.41.AM.mov

Copy link

codesandbox-ci bot commented Nov 29, 2024

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.

Copy link
Contributor

@cpatil-c-eightfold cpatil-c-eightfold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sthakur-c-2-eightfold sthakur-c-2-eightfold force-pushed the sthakur/ENG-118833/dropdown-container-focus branch from 6e3eb91 to 3a767cb Compare December 4, 2024 06:06
@sravichandran-eightfold sravichandran-eightfold merged commit 92a9407 into main Jan 8, 2025
4 of 8 checks passed
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.

5 participants