Skip to content

Unnecessary scrollbars in grid view #29100

@tanelk

Description

@tanelk

Apache Airflow version

2.5.0

What happened

Compare the same DAG grid view in 2.4.3: (everything is scrolled using the "main" scrollbar of the window)
image
and in 2.5.0 (and 2.5.1) (left and right side of the grid have their own scrollbars):
image

It was much more ergonomic previously when only the main scrollbar was used.

I think the relevant change was in #27560, where maxHeight={offsetHeight} was added to some places.

Is this the intended way the grid view should look like or did happen as an accident?

I tried to look around in the developer tools and it seems like removing the max-height from this element restores the old look: div#react-container div div.c-1rr4qq7 div.c-k008qs div.c-19srwsc div.c-scptso div.c-l7cpmp. Well it does for the left side of the grid view. Similar change has to be done for some other divs also.

image

What you think should happen instead

No response

How to reproduce

No response

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.kind:bugThis is a clearly a bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions