ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[ui5-li-notification-group]: Focus is trapped

Open LidiyaGeorgieva opened this issue 10 months ago • 1 comments

Bug Description

See the steps to reproduce

Affected Component

No response

Expected Behaviour

No response

Isolated Example

No response

Steps to Reproduce

  1. open https://sap.github.io/ui5-webcomponents/storybook/playground/fiori/pages/NotificationListGroupItem/?sap-ui-theme=sap_fiori_3
  2. find to "Payments" group
  3. click the second list item
  4. press "arrow up" on the keyboard
  5. try to press "arrow up" or "arrow down"
  6. focus is trapped (can be moved only with "tab", but not with the arrows)

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

main

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • [X] I’m not disclosing any internal or sensitive information.

LidiyaGeorgieva avatar Apr 16 '24 08:04 LidiyaGeorgieva

Hello @SAP/ui5-webcomponents-topic-rd ,

ui5-busy-indicator intercepts all keydown and keyup events and stops their propagation. This is the reason why the focus stays trapped at the busy notification list item. Besides keyboard, you also can't focus the busy item with the mouse, because the busy indicator adds pointer-events: none style.

Best regards, Petar

dimovpetar avatar Apr 16 '24 13:04 dimovpetar