Skip to content

fix(select): close menu when tabbing away [DHIS2-20734]#1746

Merged
henrikmv merged 2 commits into
masterfrom
hv/fix/DHIS2-20734_tab-away-does-not-close-open-select-menu
May 29, 2026
Merged

fix(select): close menu when tabbing away [DHIS2-20734]#1746
henrikmv merged 2 commits into
masterfrom
hv/fix/DHIS2-20734_tab-away-does-not-close-open-select-menu

Conversation

@henrikmv
Copy link
Copy Markdown
Contributor

@henrikmv henrikmv commented May 26, 2026

Fixes DHIS2-20734.

Tabbing away from an open Select menu left the menu open. Now Tab closes it while still moving focus to the next element.

Applies to SingleSelect, MultiSelect, and SimpleSingleSelect.

@henrikmv henrikmv requested a review from a team as a code owner May 26, 2026 11:01
@henrikmv henrikmv changed the title fix(select): close open menu when tabbing away [DHIS2-20734] fix(select): close menu when tabbing away [DHIS2-20734] May 27, 2026
@sonarqubecloud
Copy link
Copy Markdown

@dhis2-bot
Copy link
Copy Markdown
Contributor

🚀 Deployed on https://pr-1746--dhis2-ui.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify May 27, 2026 09:25 Inactive
@henrikmv henrikmv merged commit 1f77a51 into master May 29, 2026
21 checks passed
@henrikmv henrikmv deleted the hv/fix/DHIS2-20734_tab-away-does-not-close-open-select-menu branch May 29, 2026 09:35
dhis2-bot added a commit that referenced this pull request May 29, 2026
## [10.16.1](v10.16.0...v10.16.1) (2026-05-29)

### Bug Fixes

* **select:** handle Tab key to close menu in Select component ([#1746](#1746)) ([1f77a51](1f77a51))
@dhis2-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 10.16.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants