-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Fix multi-line drag selection in task log view #56238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
jscheffl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, thanks! Much smoother and better to select text now.
Seems some other PR merged and made a conflict - can you resolve and push a change?
Before merge would request another pair of eyes to double check that solution is the best approach as my CSS knowledge is limited.
airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogContent.tsx
Outdated
Show resolved
Hide resolved
|
CI failures are unrelated |
(cherry picked from commit 5f8eff1) Co-authored-by: Brunda10 <brunda.n@zemosolabs.com> Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
Closes : #55879
Previously, dragging across multiple lines in the task log view caused the selection to jump back to the top of the logs, making it impossible to select multiple lines reliably. This was caused by the combination of
position: absoluteandtransform: translateY()on virtualized rows.This PR fixes the issue by:
transformproperty and relying solely ontopfor positioning.Users can now drag-select multiple lines smoothly, improving log readability and overall UX.
Screencast.from.2025-09-29.16-15-40.webm