SAP / fundamental-ngx

Fundamental Library for Angular is SAP Design System Angular component library
https://sap.github.io/fundamental-ngx
Apache License 2.0
267 stars 127 forks source link

[Sourcing][Regression][Accessibility][High priority] on page load only the fdp-select with default value gets the focus among all UI controls #9967

Closed I543348 closed 1 year ago

I543348 commented 1 year ago

Is this a bug, enhancement, or feature request?

Bug

Briefly describe your proposal.

Among all the other UI controls on the page , only the fdp-select which has default option selected gets the focus. This is causing regression to guided sourcing pages. The focus should go to fdp-select only when user triggers the action and not by default on page load

Which versions of Angular and Fundamental Library for Angular are affected? (If this is a feature request, use current version.)

Angular 15 "@fundamental-ngx/platform": "0.41.1-rc.1",

If this is a bug, please provide steps for reproducing it.

Please refer stacblitz link https://stackblitz.com/edit/angular-32o2nr?file=src%2Fapp%2Fselect-mode-example.component.html 1) Notice that on page load last fdp-select gets the focus 2) try removing the default selected option for last fdp-select from ts file 3) notice the change , now the focus will not go to the last fdp-select instead it will start going to the disabled fdp-select.

This is causing regression for Guided sourcing and breaking all pages having fdp-select

Please provide relevant source code if applicable.

https://stackblitz.com/edit/angular-32o2nr?file=src%2Fapp%2Fselect-mode-example.component.html

Is there anything else we should know?

I543348 commented 1 year ago

This works fine , thanks!