Skip to content

fix(ui): use fixed menu positioning for dropdowns in connection forms#65085

Merged
bbovenzi merged 1 commit into
apache:mainfrom
tysoncung:fix/65007-dropdown-visibility
Apr 13, 2026
Merged

fix(ui): use fixed menu positioning for dropdowns in connection forms#65085
bbovenzi merged 1 commit into
apache:mainfrom
tysoncung:fix/65007-dropdown-visibility

Conversation

@tysoncung
Copy link
Copy Markdown
Contributor

Problem

Dropdown lists in custom connection parameter forms are not fully visible when rendered inside accordion panels. The dropdown menu gets clipped by the accordion container's overflow constraints, making some options inaccessible without a scrollbar.

Closes #65007

Solution

Added menuPosition="fixed" prop to both FieldDropdown and FieldMultiSelect components. This ensures the dropdown menu is positioned relative to the viewport rather than its parent container, preventing clipping issues.

Files Changed

  • airflow-core/src/airflow/ui/src/components/FlexibleForm/FieldDropdown.tsx - Added menuPosition="fixed"
  • airflow-core/src/airflow/ui/src/components/FlexibleForm/FieldMultiSelect.tsx - Added menuPosition="fixed"

Testing

This fix ensures dropdown menus remain fully visible and scrollable regardless of their parent container's overflow settings.

…apache#65007)

- Add menuPosition="fixed" to FieldDropdown and FieldMultiSelect components
- Ensures dropdown menus are fully visible when rendered inside accordion panels
- Prevents menu clipping when parent containers have overflow constraints

Closes apache#65007
Copy link
Copy Markdown
Contributor

@bbovenzi bbovenzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested. Works as expected. Thanks!

@bbovenzi bbovenzi added the backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch label Apr 13, 2026
@bbovenzi bbovenzi added this to the Airflow 3.2.1 milestone Apr 13, 2026
@bbovenzi bbovenzi merged commit 5342d3d into apache:main Apr 13, 2026
82 checks passed
github-actions Bot pushed a commit that referenced this pull request Apr 13, 2026
…ection forms (#65007) (#65085)

- Add menuPosition="fixed" to FieldDropdown and FieldMultiSelect components
- Ensures dropdown menus are fully visible when rendered inside accordion panels
- Prevents menu clipping when parent containers have overflow constraints

Closes #65007
(cherry picked from commit 5342d3d)

Co-authored-by: Tyson Cung <45380903+tysoncung@users.noreply.github.com>
Co-authored-by: Tyson Cung <tysoncung@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

Backport successfully created: v3-2-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-2-test PR Link

dandanseo123 pushed a commit to dandanseo123/airflow that referenced this pull request Apr 13, 2026
…apache#65007) (apache#65085)

- Add menuPosition="fixed" to FieldDropdown and FieldMultiSelect components
- Ensures dropdown menus are fully visible when rendered inside accordion panels
- Prevents menu clipping when parent containers have overflow constraints

Closes apache#65007

Co-authored-by: Tyson Cung <tysoncung@users.noreply.github.com>
@vatsrahul1001 vatsrahul1001 added the type:bug-fix Changelog: Bug Fixes label Apr 14, 2026
pierrejeambrun pushed a commit that referenced this pull request Apr 14, 2026
…ection forms (#65007) (#65085) (#65138)

- Add menuPosition="fixed" to FieldDropdown and FieldMultiSelect components
- Ensures dropdown menus are fully visible when rendered inside accordion panels
- Prevents menu clipping when parent containers have overflow constraints

Closes #65007
(cherry picked from commit 5342d3d)

Co-authored-by: Tyson Cung <45380903+tysoncung@users.noreply.github.com>
Co-authored-by: Tyson Cung <tysoncung@users.noreply.github.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
…ection forms (#65007) (#65085) (#65138)

- Add menuPosition="fixed" to FieldDropdown and FieldMultiSelect components
- Ensures dropdown menus are fully visible when rendered inside accordion panels
- Prevents menu clipping when parent containers have overflow constraints

Closes #65007
(cherry picked from commit 5342d3d)

Co-authored-by: Tyson Cung <45380903+tysoncung@users.noreply.github.com>
Co-authored-by: Tyson Cung <tysoncung@users.noreply.github.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
…ection forms (#65007) (#65085) (#65138)

- Add menuPosition="fixed" to FieldDropdown and FieldMultiSelect components
- Ensures dropdown menus are fully visible when rendered inside accordion panels
- Prevents menu clipping when parent containers have overflow constraints

Closes #65007
(cherry picked from commit 5342d3d)

Co-authored-by: Tyson Cung <45380903+tysoncung@users.noreply.github.com>
Co-authored-by: Tyson Cung <tysoncung@users.noreply.github.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
…ection forms (#65007) (#65085) (#65138)

- Add menuPosition="fixed" to FieldDropdown and FieldMultiSelect components
- Ensures dropdown menus are fully visible when rendered inside accordion panels
- Prevents menu clipping when parent containers have overflow constraints

Closes #65007
(cherry picked from commit 5342d3d)

Co-authored-by: Tyson Cung <45380903+tysoncung@users.noreply.github.com>
Co-authored-by: Tyson Cung <tysoncung@users.noreply.github.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
…ection forms (#65007) (#65085) (#65138)

- Add menuPosition="fixed" to FieldDropdown and FieldMultiSelect components
- Ensures dropdown menus are fully visible when rendered inside accordion panels
- Prevents menu clipping when parent containers have overflow constraints

Closes #65007
(cherry picked from commit 5342d3d)

Co-authored-by: Tyson Cung <45380903+tysoncung@users.noreply.github.com>
Co-authored-by: Tyson Cung <tysoncung@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dropdown list is not fully visible in connection form

3 participants