Skip to content

Dropdown header not accounted for in placement #972

Open
@patrickjtoy

Description

@patrickjtoy
  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Steps to reproduce

  1. Add a Dropdown.Header to a Dropdown component.
  2. On a screen where auto placement needs to be calculated, open the dropdown.
  3. Note that the main Dropdown.Item list is correctly calculated for, however the Dropdown.Header is not.

Current behavior

The Dropdown.Header component is being rendered outside the visible area.

Expected behavior

The entire Dropdown component should be controlled by the FloatingUI placement, ensuring the whole component is visible.

Context

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't workingconfirmedThis bug was confirmed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions