Skip to content

v1.19.0

tagged this 21 Jan 05:40
Add strategy="fixed" option to teleport dropdown menu to document.body,
preventing overflow clipping by parent containers.

Changes:
- Add strategy and align values to Stimulus controller
- Implement teleportMenu() to move menu to body
- Add updatePosition() for viewport-aware positioning
- Cache menu element reference after teleporting
- Handle scroll/resize events to update position
- Auto-flip menu when near viewport edges
Assets 2
Loading