-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
STATUS-1: needs triageNew issue which needs to be triagedNew issue which needs to be triagedTYPE: bugSomething isn't workingSomething isn't working
Description
Which component is affected?
Qwik Runtime
Describe the bug
Toggling "Select all" on a list backed by an array updates only one item per click. Repeated clicks progress through the array; once all are selected, further clicks toggle only the first item.
Reproduction
https://github.com/ToanTrinh01/v2-synchronized-repo
Steps to reproduce
- Run
pnpm install
- Run
pnpm dev
- Navigate to
http://localhost:5173/
- Click the "Select all" trigger repeatedly.
- Observe that only one array element updates per click.
Expected
One click updates all items in the array to the target state (all selected or all deselected).
Actual
Only a single array element updates per click (advances index-by-index); after all are selected, only the first item toggles on further clicks.
System Info
System:
OS: macOS 15.5
CPU: (10) arm64 Apple M1 Pro
Memory: 132.14 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
pnpm: 9.14.2 - ~/.nvm/versions/node/v20.12.2/bin/pnpm
Browsers:
Chrome: 138.0.7204.184
Safari: 18.5
npmPackages:
typescript: 5.4.5 => 5.4.5
undici: * => 7.13.0
vite: 5.3.5 => 5.3.5
Additional Information
No response
Metadata
Metadata
Assignees
Labels
STATUS-1: needs triageNew issue which needs to be triagedNew issue which needs to be triagedTYPE: bugSomething isn't workingSomething isn't working