]> git.proxmox.com Git - ui/proxmox-yew-widget-toolkit.git/commit
widget: data table: fix scroll position when items vanish
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 28 Jun 2024 08:50:08 +0000 (10:50 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 28 Jun 2024 08:55:37 +0000 (10:55 +0200)
commit099570183bb8be2c2671654bf96885feac2c3731
tree96ddc0a44b90d15ebd2843f860c70e639e75d394
parent8877d2c02f8cee165f4dd896c5a65052c52115bc
widget: data table: fix scroll position when items vanish

in case we're scrolled far down a list of elements, and items are
vanishing so that we're now outside the list, reduce the start so
we're now at the end of the list.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/widget/data_table/data_table.rs