Skip to content

feat(ui-menu): add prop to focus first element on open#1987

Merged
HerrTopi merged 1 commit intomasterfrom
focus-on-menu-first-element
May 26, 2025
Merged

feat(ui-menu): add prop to focus first element on open#1987
HerrTopi merged 1 commit intomasterfrom
focus-on-menu-first-element

Conversation

@HerrTopi
Copy link
Contributor

@HerrTopi HerrTopi commented May 23, 2025

TEST_PLAN:

check if you open the menu example, the focus will jump to the first element (even for it's submenu).
Set focusFirsItemOnOpen to false and observe that the behavior will fall back to the old one

INSTUI-4376

@github-actions
Copy link

github-actions bot commented May 23, 2025

PR Preview Action v1.6.1
Preview removed because the pull request was closed.
2025-05-26 14:24 UTC

@HerrTopi HerrTopi requested review from ToMESSKa and joyenjoyer May 23, 2025 12:58
@HerrTopi HerrTopi requested a review from balzss May 26, 2025 10:34
@HerrTopi HerrTopi force-pushed the focus-on-menu-first-element branch from a9a8d05 to d709d3e Compare May 26, 2025 11:59
@git-nandor git-nandor force-pushed the focus-on-menu-first-element branch from d709d3e to c0a71a7 Compare May 26, 2025 14:01
@git-nandor git-nandor force-pushed the focus-on-menu-first-element branch from c0a71a7 to 3f82135 Compare May 26, 2025 14:14
@HerrTopi HerrTopi merged commit 79c7349 into master May 26, 2025
8 checks passed
@HerrTopi HerrTopi deleted the focus-on-menu-first-element branch May 26, 2025 14:24
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.

3 participants