Skip to content

Carousel not working with [email protected]+ anymore #2480

@frschi

Description

@frschi

🐛 Bug report

The @zag-js/carousel component for Svelte appears to have a compatibility issue with Svelte versions 5.28.3 and newer. When using these Svelte versions, the carousel does not visually update when interacting with the next/prev buttons or indicators, even though the underlying state machine might be updating.

💥 Steps to reproduce

pnpm run dev the official zag/examples/svelte-ts project and check the carousel, there its broken too.
the svelte version in the svelte-ts project is set to "5.28.6", by setting it back to "5.28.2" or below the carousel works again.

🧐 Expected behavior

The carousel should slide to the next images

🌍 System information

Software Version(s)
Zag Version 1.12.4
Browser 1.78.102 Chromium
Operating System Ubuntu 24.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions