fix(workbench): stabilize presentation history hover
Rapid pointer changes repeatedly restarted inherited color transitions in both presentation menu levels. Disable transitions on these rows while preserving focus and submenu behavior. Previous coverage checked open state only; the browser regression now compares next-frame highlight colors against the theme and fails with the old transition restored. Also verify header timeline hide/restore after expansion at 320, 375, 1024 and 1440 pixels. Validation: lint, typecheck, 1178 unit tests, five focused browser cases and production build passed.
This commit is contained in:
@@ -15,7 +15,7 @@ function subscribeCompact(listener: () => void) {
|
||||
media.addEventListener("change", listener);
|
||||
return () => media.removeEventListener("change", listener);
|
||||
}
|
||||
const rowClass = "min-h-8 gap-2 text-xs active:bg-accent";
|
||||
const rowClass = "min-h-8 gap-2 text-xs transition-none active:bg-accent";
|
||||
|
||||
export function PresentationHistoryMenu({ entries, selectedId, mergedEntry, mergedEntries, onSelect }: PresentationHistoryControls) {
|
||||
const [open, setOpen] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user