mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Message action controls stay visible through focus-within for keyboard navigation, but pointer clicks left the copy/fork buttons focused after the mouse moved away. Release pointer focus on message actions so hover controls return to their quiet state while keeping Tab focus behavior intact. Constraint: Message actions use focus-within for keyboard accessibility and should not remove that path. Rejected: Remove focus-within reveal | would regress keyboard users who tab to copy or fork. Confidence: high Scope-risk: narrow Directive: Keep pointer-only blur scoped to message action controls; do not remove focus-within without a replacement keyboard affordance. Tested: cd desktop && bun run test src/components/chat/MessageList.test.tsx --run Tested: bun run check:desktop Not-tested: Live Tauri manual hover smoke Related: #642