Skip to content

[v3-3-test] Stop auto-scrolling task logs while the user is selecting text (#70594) - #71127

Merged
vatsrahul1001 merged 3 commits into
v3-3-testfrom
backport-9d4245a-v3-3-test
Aug 5, 2026
Merged

[v3-3-test] Stop auto-scrolling task logs while the user is selecting text (#70594)#71127
vatsrahul1001 merged 3 commits into
v3-3-testfrom
backport-9d4245a-v3-3-test

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor
  • Follow live task logs only when at the very end

When a task is running, the log view follows new lines by auto-scrolling to
the bottom. It kept following even when the user had scrolled up a little to
read something, because "at the bottom" allowed a 100px gap. Lower the gap so
scrolling up stops the follow, and returning to the end resumes it.

  • Pause the task log auto-scroll while the user is selecting text

While a task streams logs, the view follows new lines by scrolling to the
bottom. If the user is selecting text at the bottom, the scroll moves the
text out from under the cursor and clears the selection. Skip the follow
while a non-empty selection sits inside the log; clearing it resumes.
(cherry picked from commit 9d4245a)

Co-authored-by: Andrew Chang 69671930+Andrushika@users.noreply.github.com

… text (#70594)

* Follow live task logs only when at the very end

When a task is running, the log view follows new lines by auto-scrolling to
the bottom. It kept following even when the user had scrolled up a little to
read something, because "at the bottom" allowed a 100px gap. Lower the gap so
scrolling up stops the follow, and returning to the end resumes it.

* Pause the task log auto-scroll while the user is selecting text

While a task streams logs, the view follows new lines by scrolling to the
bottom. If the user is selecting text at the bottom, the scroll moves the
text out from under the cursor and clears the selection. Skip the follow
while a non-empty selection sits inside the log; clearing it resumes.
(cherry picked from commit 9d4245a)

Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com>
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Aug 4, 2026
@bbovenzi
bbovenzi marked this pull request as ready for review August 4, 2026 20:57
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.3.1 milestone Aug 5, 2026
@vatsrahul1001 vatsrahul1001 added the type:bug-fix Changelog: Bug Fixes label Aug 5, 2026
@vatsrahul1001
vatsrahul1001 merged commit 6fc4bcc into v3-3-test Aug 5, 2026
84 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-9d4245a-v3-3-test branch August 5, 2026 07:16
vatsrahul1001 added a commit that referenced this pull request Aug 5, 2026
… text (#70594) (#71127)

* Follow live task logs only when at the very end

When a task is running, the log view follows new lines by auto-scrolling to
the bottom. It kept following even when the user had scrolled up a little to
read something, because "at the bottom" allowed a 100px gap. Lower the gap so
scrolling up stops the follow, and returning to the end resumes it.

* Pause the task log auto-scroll while the user is selecting text

While a task streams logs, the view follows new lines by scrolling to the
bottom. If the user is selecting text at the bottom, the scroll moves the
text out from under the cursor and clears the selection. Skip the follow
while a non-empty selection sits inside the log; clearing it resumes.
(cherry picked from commit 9d4245a)

Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
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. type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants