Card disappears from keyed <For> during overlapping optimistic actions with an empty <Show>
Describe the bug
Two pending createOptimisticStore actions move separate cards into the same filtered keyed . The optimistic data still contains both moved cards, but one card disappears from the rendered DOM. An empty in each keyed item is sufficient to trigger it.
Your Example Website or App
https://s.olid.uk/id/Z51v_pPQSp6KjmSX4DY7-g
Steps to Reproduce the Bug or Issue
- Open the linked Solid 2 playground (rc.9).
- Click “Move both” once.
- After the second move (about 500 ms), observe that Card 0 disappears. Cards 1 and 2 remain.
Both action generators remain pending. No server or network response is needed.
Expected behavior
Card 0 and Card 1 should both move into the second lane, alongside Card 2. All three cards should remain rendered.
Screenshots or Videos
No response
Platform
- OS: Linux (automated reproduction)
- Browser: Chromium 153.0.8010.12
- Solid: 2.0.0-rc.9 in the linked playground
Additional context
Removing the empty from each keyed item makes all three cards render correctly. The same failure was reproduced in the kanban app using preview 2d64742; its optimistic store and filtered list contained the missing card while the DOM did not. A standalone browser check of the minimal case reproduced in development and production. The precise internal faulty function has not been identified.
Source: solidjs/solid