Skip to content

@zag-js/hover-card@1.44.0

Choose a tag to compare

@github-actions github-actions released this 13 Sep 19:25
3092324

Patch Changes

  • 06be915 Thanks
    @segunadebayo! - Fix api.setOpen ignoring a second call made in the same tick.
    setOpen(true) immediately followed by setOpen(false) left the component open instead of closed, and only worked if
    you awaited a microtask between the two calls.

    The last call in a tick now wins, and calling setOpen repeatedly with the same value still invokes onOpenChange
    once. Drawer's api.setSnapPoint had the same problem and behaves the same way now.

  • Updated dependencies [2668edc,
    de9aeaa,
    06be915]:

    • @zag-js/dom-query@1.44.0
    • @zag-js/dismissable@1.44.0
    • @zag-js/core@1.44.0
    • @zag-js/popper@1.44.0
    • @zag-js/anatomy@1.44.0
    • @zag-js/types@1.44.0
    • @zag-js/utils@1.44.0