Skip to content

fix: ignore stationary palette mouse hover#835

Open
cat0825 wants to merge 32 commits into
refactoringhq:mainfrom
cat0825:fix/stationary-palette-hover
Open

fix: ignore stationary palette mouse hover#835
cat0825 wants to merge 32 commits into
refactoringhq:mainfrom
cat0825:fix/stationary-palette-hover

Conversation

@cat0825

@cat0825 cat0825 commented Jun 8, 2026

Copy link
Copy Markdown

Replacement for accidentally closed #830.

Fixes #819.

Summary

  • Ignore zero-delta/stationary mousemove events in command palette and quick-open result lists.
  • Allow mouse hover selection only after the cursor position actually changes.
  • Add regression coverage for keyboard selection staying stable after palette open and after keyboard navigation reclaims selection.

Verification

  • pnpm test src/utils/mouseMovement.test.ts src/components/NoteSearchList.test.tsx src/components/QuickOpenPalette.test.tsx src/components/CommandPalette.test.tsx
  • npx tsc --noEmit
  • pnpm lint
  • Full pre-push rerun progressed through lint, build, frontend coverage, and Rust lint; first attempt stopped at missing local cargo-llvm-cov before the tool was installed.

cat0825 and others added 30 commits June 8, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

macOS: mouse cursor selects in the open dialog/palette if it happens to be in the wrong spot

1 participant