You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataViews: keep old data while new data is loading #69194
The DataViews component has a isLoading prop that enables consumers to build this user experience (displays spinner when data is loading):
Screen.Recording.2025-02-13.at.23.22.39.mov
In certain scenarios, consumers want to build this other experience (keep old data until new data has been loaded):
Screen.Recording.2025-02-13.at.23.19.55.mov
Discussion
There's an existing aria-busy attribute attached to the table to communicate the loading state to Assistive Technologies. However, it's not used or can't be configured to communicate the same to visual users.
The second experience can be built today doing the following:
Leverage the aria-busy attribute to set a visual indication (e.g., lower opacity). This is hacky because the classes are not public API. It'd be best if we had an API-first way to do this:
changed the title [-]DataViews: leverage aria-busy to minimize table layout shifts[/-][+]DataViews: keep old data while new data is loading[/+]on Feb 13, 2025
Activity
[-]DataViews: leverage aria-busy to minimize table layout shifts[/-][+]DataViews: keep old data while new data is loading[/+]Vrishabhsk commentedon Mar 26, 2025
Hi @oandregal
Let me know your thoughts on this. Thanks
ntsekouras commentedon Feb 27, 2026
Resolved by: #74572.