havit / Havit.Blazor

Free Bootstrap 5 components for ASP.NET Blazor + optional enterprise-level stack for Blazor development (gRPC code-first, layered architecture, localization, auth, ...)
https://havit.blazor.eu
MIT License
463 stars 63 forks source link

[HxGrid] New progress indicator #842

Closed hakenr closed 4 weeks ago

hakenr commented 4 weeks ago

It turns out that the squashed HTML structure (#465) still has some glitches (#839), so we decided to replace the current "circle" HxProgressIndicator used in HxGrid with a prettier (hopefully) linear indicator in the grid header: 2024-06-25_17-43-53

rqx110 commented 1 week ago

This is great. But when the header invisible(by the table scroll), the progress indicator is also invisible! indicator

hakenr commented 1 week ago

@rqx110 You are correct, and we are aware of this. We believe most grids should be using sticky-top when scrollable.

We think the scenario where the progress indicator should be shown (i.e., a long-running operation > HxGrid.ProgressIndicatorDelay (default is 300ms)) and the header is scrolled away from the viewport is quite rare, so we decided to sacrifice it for now (the previous version was suffering from the same issue).

We should definitely fine-tune the demo, probably with sticky-top to avoid this issue.