Skip to content

UI - Trigger form dropdown menus are truncated #53366

Closed

Description

@pierrejeambrun

Body

If menu options are too big and that there is not fields bellow the menu to give some space for expanding the menu, some part of it will be cut off, cf screenshot.

Dag code:

from __future__ import annotations

from airflow import DAG
from airflow.decorators import task
from airflow.models.param import Param

with DAG(
    "test_dropdown",
    dag_display_name="Test Dropdown",
    catchup=False,
    schedule=None,
    tags=["test"],
    params={
        "task": Param(
            "", type="string", title="Select a Value", enum=["one", "two", "three", "four", "five", "six"]
        )
    },
) as dag:

    @task
    def test_dropdown():
        pass

    test_dropdown()
Image

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. added
    kind:meta
    on Jul 15, 2025
  2. added this to the Airflow 3.0.4 milestone on Jul 15, 2025
  3. added
    area:UI
    kind:bug
    and removed
    kind:meta
    on Jul 15, 2025
  4. mingdaoy commented on Jul 15, 2025

    @mingdaoy
    Contributor

    Bonjour, is this urgent? If not, I'd be happy to pick it up.

  5. naseemshah commented on Jul 15, 2025

    @naseemshah
    Contributor

    Looks like a z-index layering issue:

    Image
  6. pierrejeambrun commented on Jul 15, 2025

    @pierrejeambrun
    MemberAuthor

    @mingdaoy I would say that a fix should be made before next patch release (3.0.4), that would land around the 5th of august.

    I just assigned you. Let me know if you can't work on it before that date.

  7. pierrejeambrun commented on Jul 15, 2025

    @pierrejeambrun
    MemberAuthor

    Looks like a z-index layering issue

    Yes, I think playing with the z-index might be enough.

  8. naseemshah commented on Jul 15, 2025

    @naseemshah
    Contributor

    It wasn't a z-index issue. It was overflow content issue. The select box overflows the accordion root div. Setting overflow: visible will fix it.

    Image
  9. muhammadhaseebiqbal-dev commented on Jul 18, 2025

    @muhammadhaseebiqbal-dev

    Is this issue fixed. @naseemshah are u working on it right now. If no then @pierrejeambrun i want to work on it

  10. naseemshah commented on Jul 18, 2025

    @naseemshah
    Contributor

    This issue was assigned to @mingdaoy . I believe he'll be working on this soon.

  11. pierrejeambrun commented on Jul 21, 2025

    @pierrejeambrun
    MemberAuthor

    @mingdaoy, are you making progress or do you need help to get started ?

    @naseemshah feel free to open a PR since you have a working fix already.

  12. mingdaoy commented on Jul 21, 2025

    @mingdaoy
    Contributor

    @naseemshah feel free to open a PR. Thanks for giving me a try.
    @pierrejeambrun I have replicated the problem with the dag code in airflow/files/dags. Just getting familiar with Chakra UI.

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

Metadata

Metadata

Labels

area:UIgood first issuekind:bug

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions