Skip to content

fix(ui): keep sidebar user dropdown open#2450

Draft
malinskibeniamin wants to merge 1 commit into
masterfrom
beniamin-malinski/sidebar-user-menu-dropdown
Draft

fix(ui): keep sidebar user dropdown open#2450
malinskibeniamin wants to merge 1 commit into
masterfrom
beniamin-malinski/sidebar-user-menu-dropdown

Conversation

@malinskibeniamin
Copy link
Copy Markdown
Contributor

What

Fix Base UI dropdown content rendering so the sidebar user menu stays open and usable. @SpicyPete

Why

The visible dropdown content was nested inside the Base UI popup element, so focus and menu behavior were attached to a wrapper instead of the rendered menu surface.

How

Render the visible dropdown surface directly through Base UI's Popup.render, preserving Base UI props, role, focus handling, and Radix-compatible state attributes on the same element.

Acceptance Criteria

  • Sidebar user menu remains open after activation.
  • Menu actions are clickable without needing to keep focus pinned.
  • Dropdown content keeps data-state styling compatibility.

Testing Steps

  • bun run type:check
  • bun run lint:check (reports existing repo-wide restricted-import/unused-suppression issues; exit 0)
  • bun run test

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant