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

[UI5-Wizard][BUG][SF][Urgent] should focus to the first ui5-wizard-tab when wizard is opened

Open sfsf-xweb-sh opened this issue 5 years ago • 7 comments

Dear colleagues, I am from SuccessFactors Web Experience Shanghai team.

Bug Description Version: 0.29.13 When we open the ui5-wizard, the wizard should focus to the first

Expected behavior When we open the ui5-wizard, the wizard should focus to the first ui5-wizard-tab automatically.

Reproduce step:

  1. go to website: https://github.wdf.sap.corp/pages/xweb/goalmanagementx/app.html?mock#/goal-list
  2. click "skip tour button" to close the first time guidance dialog
  3. click "Cascade Goal" button to open cascading dialog

You can see that, when the cascading goal dialog is opened, the first Screen Shot 2021-04-15 at 11 13 00 AM can not be focused automatically.

This issue can also be reproduced in: https://sap.github.io/ui5-webcomponents/playground/components/Wizard/ Screen Shot 2021-04-15 at 11 15 43 AM

sfsf-xweb-sh avatar Apr 15 '21 03:04 sfsf-xweb-sh

Dear @sfsf-xweb-sh

I am trying to process that issue. Could you please try to add source maps to your applications in order to have them processed faster in the future.

Thank you! Martin

MapTo0 avatar Apr 15 '21 10:04 MapTo0

Seems like this is related with the ui5-dialog conditional rendering on the page. Could you please add source maps to the application.

Debugging transpiled react + ui5 webcomponents code without source maps is really a pain. You can also try to reproduce in jsbin or codesandbox

JSBIN

That one is also related https://github.com/SAP/ui5-webcomponents/issues/3152

MapTo0 avatar Apr 15 '21 13:04 MapTo0

Hi,

It is very likely that this issue is the same as #3181 related to the busy indicator which is wrapping the ui5-wizard. Still it is important to have the source maps.

Regards, Alexandar Mitsev

alexandar-mitsev avatar Apr 23 '21 07:04 alexandar-mitsev

Hi @alexandar-mitsev & @MapTo0

It Is hard to give the source map in public GitHub page. Can you access our project's repo ?

sfsf-xweb-sh avatar Apr 23 '21 09:04 sfsf-xweb-sh

Hi @alexandar-mitsev @ilhan007 @fifoosid

You can see this demo link:https://github.wdf.sap.corp/pages/xweb/goalmanagementx/app.html?mock#/goal-list I have added the source-map to it

sfsf-xweb-sh avatar Apr 26 '21 08:04 sfsf-xweb-sh

Hi @sfsf-xweb-sh

This issue is related to the application logic, which is overwriting the default behaviour of the dialog.

You are manually focusing the Select All checkbox, which leads to moving the initial focus from the first focusable element(the wizard step) to the Select All checkbox.

If you want to stick with the default behaviour, you should remove the manual focusing of that checkbox

fifoosid avatar May 10 '21 08:05 fifoosid

Hi @fifoosid I will try it, thanks

Milo-Shen avatar May 13 '21 09:05 Milo-Shen