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
vlist: keys_from doc example collapses to zero height #434
Found in #401: a virtual_list given only max_h_px is 0 tall, because a scroll container is as tall as it's told. The keys_from doc example (src/vlist.rs ~238, max_h_px(300.0)) therefore renders as an empty sliver. Fix the example. Also consider whether a vlist with only a max height should size to its rows up to that max (what #401's list::show now does by hand), so callers can't hit this.
Decision (user, 2026-11-20): a virtual list given only a max height sizes itself to its rows, up to that max, instead of collapsing to 0 tall. That removes the trap behind #401's empty lists, and #401's hand-sizing in list::show can then go. The doc-example fix is #450.
Activity
samitbasu commentedon Nov 20, 2026
Decision (user, 2026-11-20): a virtual list given only a max height sizes itself to its rows, up to that max, instead of collapsing to 0 tall. That removes the trap behind #401's empty lists, and #401's hand-sizing in
list::showcan then go. The doc-example fix is #450.Merge pull request #450 from samitbasu/vlist-doc-434
Merge pull request #454 from samitbasu/vlist-size-434