Skip to content

@zag-js/popper@2.0.0-next.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Aug 12:05
b7f2221

Patch Changes

  • #3167
    8148d4d Thanks
    @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
    transform instead of a positioned-gated opacity. This keeps the framework-managed style static, so reactive
    re-renders no longer clobber the --x/--y variables popper sets.

    As a result, the internal positioned context flag is removed from positioned machines (popover, menu, select, etc.).

    Also fixes cascade-select positioning: it now sets the initial placement before measuring and defers the first
    placement computation (matching the other components), so it positions correctly on open — including defaultOpen.

  • Updated dependencies []:

    • @zag-js/utils@2.0.0-next.1
    • @zag-js/dom-query@2.0.0-next.1