fundamental-ngx icon indicating copy to clipboard operation
fundamental-ngx copied to clipboard

Platform table - when using pageScrolling, fetching new data should not set busy indicator over entire table, but instead display one loading row

Open mikerodonnell89 opened this issue 6 months ago • 0 comments

While working on issue #12159, some additional questions came up. After speaking with the designers, they said, in the event of scrolling via mouse/touch gestures, we should be fetching enough data ahead of time that it is loaded (i.e. more rows and at a higher px threshold) before the user gets to the point where they'll need to see a busy indicator. Of course this is best case scenario, and there are times when an API call takes longer than expected. Or, for keyboard users, they may press the "End" key and skip straight to the bottom. In this case we should display a skeleton loading row, not over the entire table but at the bottom of the table over one blank row. We can apply overscroll-behavior-y: contain to the table while a fetch is happening, and it should go back to auto when the load is complete

mikerodonnell89 avatar Aug 23 '24 19:08 mikerodonnell89