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

[ui5-popup]: First focusable element is not located correctly #10965

Open
1 task done
GerganaKremenska opened this issue Feb 27, 2025 · 0 comments · May be fixed by #10984
Open
1 task done

[ui5-popup]: First focusable element is not located correctly #10965

GerganaKremenska opened this issue Feb 27, 2025 · 0 comments · May be fixed by #10984
Labels
bug This issue is a bug in the code High Prio TOPIC RD

Comments

@GerganaKremenska
Copy link
Member

Bug Description

In Popup.ts - getFisrtFocusableElement is not optimized to search in depth but searches sibling first.

Affected Component

ui5-popover, ui5-responsive-popover, ui5-dialog

Expected Behaviour

Focus should go on "Item 3", instead it focuses the first focusable element which is on a higher node level.

Isolated Example

https://js-wensajc5.stackblitz.io/

Steps to Reproduce

  1. open https://js-wensajc5.stackblitz.io/
  2. Click the menu button
  3. Select "Item 3"
  4. Click menu button again

Log Output, Stack Trace or Screenshots

No response

Priority

High

UI5 Web Components Version

2.7.3

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code High Prio TOPIC RD
Projects
Status: New Issues
Development

Successfully merging a pull request may close this issue.

2 participants