MenuBar: Pressing Escape-Key in submenu moves focus to first menuitem #5316
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
When a menuitem is focused and when you press ESC-Key it moves focus to first menuitem. It's especially problematic if focus in submenu. The focus should be set to parent menuitem. You can also reproduce that in the Demo: https://primevue.org/menubar/
Reproducer
https://stackblitz.com/edit/primevue-create-vue-issue-template-izcznw?file=src%2FApp.vue
PrimeVue version
3.48.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Chrome 121.0.6167.184
Steps to reproduce the behavior
Expected behavior
If focus is on submenu-item, ESC-Key should move focus to parent menuitem.
The text was updated successfully, but these errors were encountered: