Wallet /proposals "All" tab: duplicate cards after infinite scroll, and they stay on screen through search/filter changes (follow-up to #1301)
Follow-up to #1301 (closed). Desktop Chrome, guest4test1, 2026-10-23 ~14:30 CEST.
Steps
- Open /wallet/proposals, select the Wszystkie (All) tab (default "Suma głosów" order).
- Scroll down a few times; the list loads 30 more each time (I got to 120 cards).
- The list now contains duplicates: proposals 309, 158 and 192 appear twice (likely at page boundaries: the next page starts with the last item of the previous one).
- Type something that matches nothing into the search box, e.g.
zzqqxx.
Actual
- "Żadna wczytana propozycja nie pasuje do wyszukiwania." is shown, but 5 cards stay on screen: 309, 158, 192, 158, 192.
- After clearing the search and switching the theme, those cards still sit at the top of the list, above 373.
Looks like duplicate items get the same React key, and the extra DOM nodes are never removed.
Expected
- No duplicates when loading more pages (dedupe by proposal id, or start the next page after the last id).
- Search / tab / order changes show only matching proposals.
Works fine
- From a clean state (no scrolling) search works on All and Votable ("keychain" → 373, "hdev.fund" → 360, nonsense → the "no match" message, no cards).
- Active 15 / Upcoming 1 / Votable 16 match the chain.