@zag-js/popper@2.0.0-next.1
Pre-release
Pre-release
Patch Changes
-
#3167
8148d4dThanks
@github-actions! - Fix positioner appearing in the top-left corner on first
open (most visible in the Svelte adapter). The positioner now stays hidden off-screen via a CSS variable fallback in
transforminstead of apositioned-gatedopacity. This keeps the framework-managed style static, so reactive
re-renders no longer clobber the--x/--yvariables popper sets.As a result, the internal
positionedcontext flag is removed from positioned machines (popover, menu, select, etc.).Also fixes
cascade-selectpositioning: it now sets the initial placement before measuring and defers the first
placement computation (matching the other components), so it positions correctly on open — includingdefaultOpen. -
Updated dependencies []:
- @zag-js/utils@2.0.0-next.1
- @zag-js/dom-query@2.0.0-next.1