github chakra-ui/zag @zag-js/carousel@1.35.3

latest releases: @zag-js/utils@1.35.3, @zag-js/toast@1.35.3, @zag-js/focus-trap@1.35.3...
9 hours ago

Patch Changes

  • ed1f1bb Thanks
    @segunadebayo! - Improved carousel reliability during drag, scroll, and runtime
    config changes.

    • Keeps page and indicators in sync after drag release and scroll settling.
    • Handles rapid mixed interactions (drag, wheel, buttons, indicators) more consistently.
    • Keeps page state valid when slidesPerPage, slidesPerMove, direction, or orientation change.
    • Makes slidesPerMove (auto, 1, 2) progression more predictable.
  • #2997
    06ffe77 Thanks
    @copilot-swe-agent! - Fix issue where carousel inside a Portal (e.g.,
    Dialog) computes incorrect page count due to incomplete DOM layout at mount time. The item-group container is now
    observed with a ResizeObserver, so snap points are recalculated when the container resizes (e.g., when a dialog
    opens and layout is complete).

  • Updated dependencies []:

    • @zag-js/anatomy@1.35.3
    • @zag-js/core@1.35.3
    • @zag-js/types@1.35.3
    • @zag-js/utils@1.35.3
    • @zag-js/dom-query@1.35.3
    • @zag-js/scroll-snap@1.35.3

Don't miss a new zag release

NewReleases is sending notifications on new releases.