mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
a322dfc59a
- Lock viewport scroll while a drag-select is active so highlighted content stays under the cursor (SetItems, appendStreamingChunk, MouseWheelDown all now honor IsMouseDown). - HandleMouseDrag defensively clears autoScroll on every update so a racy re-enable can't shift the row mid-drag. - Recompute scrollback yOffset/viewport height on each mouse event via currentScrollbackBounds() instead of relying on stale values cached during the previous View() pass. - Account for canceling/ctrlCPressedOnce warning rows in distributeHeight and mark layoutDirty when those flags toggle so the height budget and mouse origin stay in sync. - Add ScrollList regression tests covering the three invariants.