Skip to content

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

Open
tysoncung wants to merge 1 commit intoapache:mainfrom
tysoncung:fix/65007-dropdown-visibility
Open

fix(ui): use fixed menu positioning for dropdowns in connection forms#65085
tysoncung wants to merge 1 commit intoapache: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
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dropdown list is not fully visible in connection form

1 participant