diff --git a/apps/desktop/src/components/ui/dropdown-menu.tsx b/apps/desktop/src/components/ui/dropdown-menu.tsx index 85215c852b..0937f6c08a 100644 --- a/apps/desktop/src/components/ui/dropdown-menu.tsx +++ b/apps/desktop/src/components/ui/dropdown-menu.tsx @@ -487,6 +487,12 @@ function DropdownMenuSubContent({ // `overflow` clip. Radix Popper still anchors it to the SubTrigger and // handles collision/flip. React events still bubble through the portal, so // the parent menu doesn't treat a press here as an outside click. + // + // `updatePositionStrategy="always"` makes Floating UI's autoUpdate use a + // continuous rAF loop instead of the default "optimized" passive scroll + // listeners. Without it, a portaled submenu visibly lags behind its trigger + // while the parent Content scrolls: the scroll → getBoundingClientRect → + // reposition pipeline cannot keep pace with fast wheel events. )