Repository navigation
v0.2.3
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.