-
-
Notifications
You must be signed in to change notification settings - Fork 260
Description
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