-
Notifications
You must be signed in to change notification settings - Fork 126
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
[P2][Sourcing] Platform table switch focus with custom indicator #12450
Comments
This doesn't have anything to do with the custom busy indicator (in the video below I've removed
I think it is a happy accident for us, that it is working as the designers intended in some cases - likely just a side effect of our virtual scrolling implementation |
Hi @mikerodonnell89, I tried to have that 2024-09-26_12-53-16.mp4The thing is that we constantly observe different result between with and without |
The workaround is only reduce the timing this issue occurring but it is still triggered depending on when we start triggering busy indicator. It is due to the listener to execute refocus:
I think this should be addressed from library instead of workaround given random async run in this case and it is tedious for application to apply workaround and be mindful when to trigger I will provide a fix on this. |
Is this a bug, enhancement, or feature request?
bug
Describe your proposal.
When we use custom busy indicator through
[loading]="!!(loading | async)"
and we want to fetch the table, the content switch focus to different position (or table is scrolled). If we remove this, there is no issue.busyindicator_focus_switch.mp4
Expectation: when using [loading] and table is fetched, position should stay in place.
Can you handle that on the application side
No
Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)
Angular 15
0.43.43
If this is a bug, please provide steps for reproducing it; the exact components you are using;
[loading]
.Please provide relevant source code (if applicable).
https://stackblitz.com/edit/angular-l9ndgq?file=src%2Fapp%2Fplatform-table-virtual-scroll-example.component.html
Please provide stackblitz example(s).
https://stackblitz.com/edit/angular-l9ndgq?file=src%2Fapp%2Fplatform-table-virtual-scroll-example.component.html
In case this is Accessibility related topic, did you consult with an accessibility expert? If not, please do so and share their recommendations.
Did you check the documentation and the API?
Yes
Did you search for similar issues?
Yes
Is there anything else we should know?
This is important for us to use custom indicator to control when to show indicator especially which we involve API call.
IMPORTANT: Please refrain from providing links or screenshots of SAP's internal information, as this project is open-source, and its contents are accessible to anyone.
The text was updated successfully, but these errors were encountered: