[pbs-devel] applied: [PATCH widget-toolkit 1/1] node/Tasks: improve scroller behaviour on datastore loading

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Sep 29 09:19:21 CEST 2020


On 25.09.20 16:13, Dominik Csapak wrote:
> when we have a fixed totalcount, the scrollbar behaves nicely,
> but sometimes we do not have a fixed total, so the api will return
> '+1' if there are more elments to load
> 
> when doing this, the scrollbar has a weird behaviour where it changes
> size frequently the more one scrolls down.
> 
> instead, tell the grid to update its layout as soon as the store
> prefetches the data, which triggers an update of the scrollbar
> 
> this still lets it jump around a little, but only once per load and
> more consistent
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/node/Tasks.js | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
>

applied, thanks!





More information about the pbs-devel mailing list