Repository navigation
v0.2.69
v0.2.69 — Small bugfix release that ensures the navigation menu cleans up positioning styles on close to prevent page overflow and layout issues.
@data-slot/navigation-menu
- 🐛 Bug fix: Reset inline placement styles on the viewport positioner when the menu closes (clears position, top, left, width, height, margin, will-change, pointer-events, transform, removes --transform-origin and data-instant). This prevents leftover styles from causing horizontal scroll or other page overflow issues.
- Cleanup now runs both on exitComplete and immediate teardown, ensuring no stale inline styles remain after close or unmount.
- Internal viewport offsets (viewportOffsetLeft/viewportOffsetTop) are reset to 0 on close to avoid stale positioning on subsequent opens.
- User impact: fixes cases where a closed navigation menu would leave an invisible positioned element that caused layout shifts, unexpected scrollbars, or blocked interactions.
- 💥 Breaking changes: none — no API changes; drop-in safe patch.
- Note: This is the only package in the monorepo with code changes in v0.2.69 (fix commit 205dab7).