-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Which component is affected?
Qwik Runtime
Describe the bug
There is an uncaught promise when we try to introduce autoplay behavior (like in a carousel component) in v2. This is a regression from v1.
Reproduction
https://github.com/thejackshelton/uncaught-promise-timeout-repro/edit/main/README.md
Steps to reproduce
Reproduction Steps
- pnpm install
- pnpm dev
- open http://localhost:5173
- open console
- click the autoplay button
- see an uncaught promise error in the console
Expected Behavior
The carousel should autoplay without throwing an uncaught promise error.
System Info
System:
OS: macOS 26.0
CPU: (16) arm64 Apple M4 Max
Memory: 835.52 MB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.9.0 - /Users/jackshelton/.nvm/versions/node/v24.9.0/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 11.6.0 - /Users/jackshelton/.nvm/versions/node/v24.9.0/bin/npm
pnpm: 10.19.0 - /Users/jackshelton/.nvm/versions/node/v24.9.0/bin/pnpm
bun: 1.1.7 - /Users/jackshelton/.bun/bin/bun
Deno: 2.1.4 - /opt/homebrew/bin/deno
Browsers:
Brave Browser: 141.1.83.120
Chrome: 141.0.7390.123
Firefox: 144.0.2
Safari: 26.0
npmPackages:
typescript: 5.4.5 => 5.4.5
undici: * => 7.16.0
vite: 7.1.11 => 7.1.11Additional Information
The uncaught promise error is thrown after the setInterval time.
Removing the signal read in the object style property prevents the uncaught promise error.
Reactions are currently unavailable