Skip to content

Scrolling in logs does not work properly. #51788

Closed

Description

@WilliamKarvat

Apache Airflow version

3.0.2

If "Other Airflow 2 version" selected, which one?

No response

What happened?

I did a clean installation of Airflow 3.0.2 and when trying to scroll the logs the following behavior occurs:

Image

Even though it seems to be at the end, I need a few seconds to manually move down until I reach the end...

What you think should happen instead?

No response

How to reproduce

Fix Scroll behavior

Operating System

Running docker compose on Debian 12

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else?

Always

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    on Jun 16, 2025
  2. boring-cyborg commented on Jun 16, 2025

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

  3. added
    needs-triage
    on Jun 16, 2025
  4. added
    area:UI
    priority:medium
    on Jun 16, 2025
  5. jroachgolf84 commented on Jun 16, 2025

    @jroachgolf84
    Collaborator
  6. RoyLee1224 commented on Jun 16, 2025

    @RoyLee1224
    Contributor

    It seems to be a common challenge with the virtualization library (@tanstack/virtual) when it handles items with dynamic heights.

    Related PR: #50746

    I found that even the official library example for dynamic rows shows a similar behavior when you scroll:
    TanStack Virtual - Dynamic Example

  7. guan404ming commented on Jun 17, 2025

    @guan404ming
    Member

    Thanks, @RoyLee1224 and @WilliamKarvat! We introduced the virtualized list to improve rendering efficiency. However, this is a kind of a known issue with @tanstack/virtual. If the library releases a fix, we'll definitely follow up and update our component accordingly.

  8. added
    priority:low
    priority:medium
    and removed
    needs-triage
    priority:medium
    priority:low
    on Jun 17, 2025
  9. 12 remaining items

  10. added this to the Airflow 3.0.5 milestone on Jul 28, 2025
  11. amoghrajesh commented on Aug 13, 2025

    @amoghrajesh
    Contributor

    @pierrejeambrun @phanikumv I don't think we can make it in time for 3.0.5 too right? Should we move it to 3.1?

  12. phanikumv commented on Aug 13, 2025

    @phanikumv
    Contributor

    @guan404ming do you have some bandwidth to finish the UI part? #49470 is already merged!

    It's finally merged. So now we can update the UI to utilize the full streaming API

  13. guan404ming commented on Aug 13, 2025

    @guan404ming
    Member

    Sure, working on it.

    -> #54445

  14. eladkal commented on Sep 13, 2025

    @eladkal
    Contributor

    @guan404ming this task is completed right?

  15. removed this from the Airflow 3.1+ milestone on Sep 13, 2025
  16. guan404ming commented on Sep 15, 2025

    @guan404ming
    Member

    I think it is almost done but it could be better after the backend fix to support fully streaming for logs.

  17. pierrejeambrun commented on Sep 16, 2025

    @pierrejeambrun
    Member

    That should also help closing this, with a "jump to end" button that is fixed in the following PR, that should help preventing this. (manually scrolling will still behave like this because of virtualization though, but we would have a workaround with the "jump to end" button)
    #54447

  18. NilsJPWerner commented on Sep 19, 2025

    @NilsJPWerner
    Contributor

    The virtualized scrolling has made searching in the logs impossible. It would be amazing to have an option to just load all the logs into the ui at once and bypass the streaming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:UIkind:bugpriority:medium

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions