Skip to content

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 19 Jan 10:01
· 594 commits to main since this release
9d538e0

v0.2.3 — Small bugfix release improving dropdown menu pointer behavior.

@data-slot/dropdown-menu

  • 🐛 Fix: Clear the highlighted item when the pointer leaves the menu so the last item is no longer left highlighted accidentally.
  • Behavior detail: The pointerleave handler clears highlight only when not in keyboard mode, so keyboard navigation/highlight state is preserved.
  • User impact: Prevents confusing visual state when moving the mouse out of a menu, improving UX and perceived polish.
  • Implementation: Added a pointerleave listener to the menu to call clearHighlight() when appropriate.
  • 💥 Breaking changes: None — no public API changes; safe to upgrade.