karenbraganz opened a new issue, #65159:
URL: https://github.com/apache/airflow/issues/65159

   ### Under which category would you file this issue?
   
   Airflow Core
   
   ### Apache Airflow version
   
   3.1.8
   
   ### What happened and how to reproduce it?
   
   When there is a dag run with many tasks (over 26 approximately), you need to 
scroll to see some of the tasks in the grid view. The scrolling does not work 
for the Gantt chart view. The grid still scrolls but the Gantt chart does not 
actually scroll down. The tasks in the Gantt view get mismatched with the tasks 
in the grid view when you scroll down, and you cannot see the Gantt view for 
the bottom tasks. 
   
   This can be reproduced by creating and running a dag with over 26 tasks. 
Here is an example:
   ```
   from airflow.sdk import dag, task
   from pendulum import datetime
   
   
   @dag(
       dag_id="test_gantt",
       start_date=datetime(2024, 1, 1),
       schedule=None,
       catchup=False,
   )
   def test_gantt():
       @task
       def make_task(n: int) -> None:
           print(f"Task {n}")
   
       tasks = [make_task.override(task_id=f"task_{i}")(i) for i in range(1, 
31)]
   
       for i in range(len(tasks) - 1):
           tasks[i] >> tasks[i + 1]
   
   
   test_gantt()
   ```
   
   Once this dag runs, select the options drop down and check "Show Gantt". 
Then, select the dag run and scroll down to see the tasks at the bottom. You 
will observe that the grid view scrolls down but the Gantt chart does not.
   
   ### What you think should happen instead?
   
   The Gantt chart should be able to scroll down.
   
   ### Operating System
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to