fix(tui): address follow-up review nits

This commit is contained in:
Brooklyn Nicholson 2026-04-26 05:06:57 -05:00
parent a0aebad673
commit 2e6c3c7d23
6 changed files with 44 additions and 35 deletions

View file

@ -235,7 +235,7 @@ export function useVirtualHistory(
if (dirty) {
setVer(v => v + 1)
}
}, [end, hasScrollRef, items, n, offsets, scrollRef, start, total, vp])
}, [end, hasScrollRef, items, n, offsets, scrollRef, start, sticky, total, vp])
return {
bottomSpacer: Math.max(0, total - (offsets[end] ?? total)),