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

ui5-input in ui5-dialog focus loop issue

Open ee92 opened this issue 5 years ago • 1 comments

Describe the bug When a ui5-dialog has an ui5-input as the first or last focusable element, that input does not get focused properly. It will receive the input cursor but will not have the focus outline and the .focused property will be false.

To reproduce Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/ui5-webcomponents-forked-24esz?file=/src/index.js
  2. Follow the steps in the sandbox

Expected behavior When the ui5-input is the first focusable element in the ui5-dialog, it should receive the input cursor, have a focus outline, and have the .focused property be set to true. It should do the same upon tabbing through the focusable elements in the ui5-dialog and being looped back to the first. The same if using Shift+Tab and the ui5-input is the last focusable element in the ui5-dialog.

Screenshots Screen Shot 2021-03-01 at 9 15 17 AM

Context

  • UI5 Web Components version: 0.29.0

Affected components ui5-input

Organization: SuccessFactors

Priority: (optional) Medium

Thank you for looking into it :)

ee92 avatar Mar 01 '21 17:03 ee92

Hi @ee92

This issue is resolved in version 0.29.4. Once you update the version you will no longer experience this issue

fifoosid avatar Mar 02 '21 07:03 fifoosid