Skip to content

Keep task log text selection alive while scrolling - #71148

Open
Andrushika wants to merge 2 commits into
apache:mainfrom
Andrushika:fix-log-viewer-selection-pinning
Open

Keep task log text selection alive while scrolling#71148
Andrushika wants to merge 2 commits into
apache:mainfrom
Andrushika:fix-log-viewer-selection-pinning

Conversation

@Andrushika

Copy link
Copy Markdown
Contributor

Why

The log viewer only renders rows inside the virtualized window. When a selection boundary scrolls out of view, its DOM node is removed and the browser selection collapses or drifts.

2026-07-28.1.38.34.mov

What

Listen to selectionchange and keep the boundary rows in the virtualizer's rangeExtractor. This keeps at most two extra rows mounted while the user scrolls.

After:

2026-08-04.3.42.34.mov

closes: #68846


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

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

Virtualized log rows are unmounted as they leave the viewport. This destroys selection boundaries and makes text selections collapse or drift during scrolling.
@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.

UI logs selection issues (Airflow 3.2.2)

1 participant