Repository navigation
v0.2.58
One-line summary: v0.2.58 updates the navigation menu with improved placement controls and more robust hover behavior.
@data-slot/navigation-menu
- ✨ Added configurable placement: new options for side, align, sideOffset, and alignOffset let you control which side the menu appears on and apply pixel offsets along both axes. Defaults: side = "bottom", align = "start". These can be set via options or data-attributes.
- ✨ Improved hover behavior: the menu now stays open across small hover gaps between trigger and content, reducing accidental closures when moving the pointer.
- ✨ Positioning improvements: integration with the library's floating positioning utilities (computeFloatingPosition) yields more accurate placement when using side/align offsets.
- 🐛 Minor polish: stability and UX improvements around portal/hover interactions (no API changes required).
- 💥 Breaking changes: None — fully backward compatible.
Upgrade notes
- Simply update to v0.2.58 to get the new placement options and improved hover handling.