fix(webui): anchor floating surface animations (#6722)

* fix(webui): anchor floating surface animations

* test(webui): assert the dispatched file menu click coordinate
This commit is contained in:
chengyongru authored and GitHub committed 2026-11-19 15:05:42 +08:00
1 parent eb82ab84cc
commit 32bba3a16c
7 files changed
+80 -4

No files matched your search

@@ -23,7 +23,7 @@ const TooltipContent = React.forwardRef<
sideOffset={sideOffset}
className={cn(
floatingSurfaceElevationClassName,
"z-50 overflow-hidden rounded-control px-3 py-1.5 text-caption animate-in fade-in-0 zoom-in-95",
"z-50 origin-[var(--radix-tooltip-content-transform-origin)] overflow-hidden rounded-control px-3 py-1.5 text-caption animate-in fade-in-0 zoom-in-95 motion-reduce:animate-none",
className,
)}
{...props}