Skip to content

Virtualized DataGrid: opening Base‑UI MenuTrigger causes full grid re-render (Radix works fine) #3074

@7up-charsi

Description

@7up-charsi

When using a virtualized DataGrid (virtua WindowVirtualizer/Virtualizer) and Base‑UI Menu (MenuTrigger / DropdownMenu), clicking a row's menu trigger causes the entire data grid to re-render/remount rows. Using Radix UI for the same menu does not produce the issue. The menu content is portaled, so the overlay mount itself is not the cause.

Observed behavior

Virtualized grid re-renders/remounts whole data-grid when a row action menu is toggled with Base‑UI menu.

xpected behavior

Nothing in the data-grid DOM should update. Menu should not cause parent/virtualizer to remount unrelated rows (same behavior as Radix).

Request

please advise on a minimal example showing safe use with virtua WindowVirtualization.

DropdownMenu / Menu usage

Radix: https://github.com/user-attachments/assets/88a09d6a-a402-47b5-9302-ebc2051fd5a2
Base-ui: https://github.com/user-attachments/assets/a4f1a730-e364-45ea-8cc1-448e31ac2507

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: menuChanges related to the menu component.has workaroundThere’s a bug, but users have a complete workaround, so no urgent fix or release is needed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions