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

@@ -434,7 +434,6 @@ export function ModelPresetBadge({
className={cn(
showsSpeedControl ? speedPickerWidthClassName : pickerWidthClassName,
"inset-scrollbar flex max-h-[var(--radix-popover-content-available-height)] flex-col overflow-y-auto",
"origin-[var(--radix-popover-content-transform-origin)] p-1.5 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-bottom-1 data-[state=open]:slide-in-from-bottom-1 duration-200 ease-out motion-reduce:animate-none",
)}
>
<div