Skip to content

feat: animate the note-row options menu open and close#319

Merged
fjbarrett merged 2 commits into
mainfrom
feat/menu-open-animation
Jul 10, 2026
Merged

feat: animate the note-row options menu open and close#319
fjbarrett merged 2 commits into
mainfrom
feat/menu-open-animation

Conversation

@fjbarrett

Copy link
Copy Markdown
Owner

Summary

  • The sidebar kebab menu snapped in and out; it now pops from its anchor corner on open (130ms) and slips away on close (90ms), flipping its transform origin with the existing bottom/top placement logic.
  • A small useMenuPresence hook keeps the menu mounted through the exit animation; pointer-events: none guards the closing state, and prefers-reduced-motion disables both keyframes, following the New-button flourish's pattern.
  • Demo clip: screenshots/pr/menu-pop.webm.

Test plan

  • npm test — 125/125; npm run build clean
  • Playwright capture against a dev server: open via kebab, close via backdrop, both directions animate; flip-up rows anchor from the bottom corner
    🤖 Generated with Claude Code

fjbarrett and others added 2 commits July 9, 2026 19:31
The kebab menu snapped in and out of existence. Pop it from its anchor
corner on open and slip it away on close, keeping it mounted through the
exit via a small presence hook. Follows the reduced-motion opt-out the
New-button flourish established.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@fjbarrett
fjbarrett merged commit de7f680 into main Jul 10, 2026
3 checks passed
@fjbarrett
fjbarrett deleted the feat/menu-open-animation branch July 10, 2026 02:34
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.

1 participant