@devries-cameron20 / t3code-1 / commits / bcb0604581
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): model picker options no longer jump a pixel on hover (#37661)

Co-authored-by: Cursor <cursoragent@cursor.com>

Yash Singh committed Nov 16, 2026 at 10:39 UTC bcb0604581664c58ef57504751fc9473e00a5af6
1 file changed +2
apps/web/src/components/ui/popover.tsx
+2
@@ -94,6 +94,8 @@ function PopoverPopup({
94 className={cn(
95 "relative flex h-(--popup-height,auto) w-(--popup-width,auto) origin-(--transform-origin) rounded-lg text-popover-foreground outline-none transition-[width,height,scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] has-data-[slot=calendar]:rounded-xl has-data-[slot=calendar]:before:rounded-[calc(var(--radius-xl)-1px)] data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",
96 variant !== "panel" && "dropdown-glass",
97 + // Without it, Chromium re-snaps text after the scale-in at fractional zoom, so hovered rows jump a pixel.
98 + "will-change-[scale]",
99 // Electron drag hit-testing ignores z-index; popups over a drag region would swallow hover.
100 "[-webkit-app-region:no-drag]",
101 tooltipStyle &&