Skip to content

v0.2.58

Choose a tag to compare

@github-actions github-actions released this 12 Feb 08:55
· 455 commits to main since this release
a2ac37b

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.