Skip to content

Keep task log selection stable while dragging - #71155

Draft
Andrushika wants to merge 3 commits into
apache:mainfrom
Andrushika:fix-log-viewer-selection-drag
Draft

Keep task log selection stable while dragging#71155
Andrushika wants to merge 3 commits into
apache:mainfrom
Andrushika:fix-log-viewer-selection-drag

Conversation

@Andrushika

Copy link
Copy Markdown
Contributor

Why

Dragging a task log selection past the top or bottom edge can flip or collapse it. The browser focus lands on unmounted spacer space while the virtualizer scrolls.

What

Make non-row areas unselectable during a drag. Extend the focus to the nearest mounted row edge on each animation frame so it follows scrolling.

stacked on: #71148
related: #68846


Was generative AI tooling used to co-author this PR?
  • Yes — Codex (GPT-5)

Generated-by: Codex (GPT-5) following the guidelines

Andrushika and others added 3 commits August 5, 2026 13:29
Virtualized log rows are unmounted as they leave the viewport. This destroys selection boundaries and makes text selections collapse or drift during scrolling.
Dragging a task log selection past the top or bottom edge can flip or collapse it because the browser resolves the focus against the virtualized spacer instead of a mounted row.
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant