Skip to content

Keep task log text selection alive while scrolling - #71148

Merged
bbovenzi merged 2 commits into
apache:mainfrom
Andrushika:fix-log-viewer-selection-pinning
Aug 5, 2026
Merged

Keep task log text selection alive while scrolling#71148
bbovenzi merged 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
@bbovenzi
bbovenzi merged commit 448c151 into apache:main Aug 5, 2026
89 checks passed
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-3-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-3-test PR Link

github-actions Bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 5, 2026
…e#71148)

Virtualized log rows are unmounted as they leave the viewport. This destroys selection boundaries and makes text selections collapse or drift during scrolling.
(cherry picked from commit 448c151)

Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com>
aws-airflow-bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 5, 2026
…e#71148)

Virtualized log rows are unmounted as they leave the viewport. This destroys selection boundaries and makes text selections collapse or drift during scrolling.
(cherry picked from commit 448c151)

Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com>
@Andrushika
Andrushika deleted the fix-log-viewer-selection-pinning branch August 6, 2026 01:02
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. backport-to-v3-3-test Backport to v3-3-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI logs selection issues (Airflow 3.2.2)

2 participants