-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Component: AccessibilityIssue or pull request is related to WCAG or ARIAIssue or pull request is related to WCAG or ARIAType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Description
Describe the bug
Keyboard navigation on splitbutton menu loses focus after selecting a MenuItem.
Pull Request Link
Reason for not contributing a PR
- Lack of time
- Unsure how to implement the fix/feature
- Difficulty understanding the codebase
- Other
Other Reason
No response
Reproducer
https://stackblitz.com/edit/github-g1ck5gy7-bpnv7xme
Environment
Angular 20
PrimeNG 20
Angular version
20
PrimeNG version
v20
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
- Use keyboard (Tab key) to focus on the SplitButton menubutton
- Use keyboard (Enter key, down arrow) to expand the menu, and highlight an option
- Use keyboard (Enter key / space key) to select a menu item. Focus is lost, and pressing 'Tab' again will start the focus cycle back at the top of the screen.
Expected behavior
After selecting a menu Item, I would expect the focus state to return to the menu trigger button in the SplitButton.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: AccessibilityIssue or pull request is related to WCAG or ARIAIssue or pull request is related to WCAG or ARIAType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working