GuthrieW / shl-trading-cards

The repository for the Simulation Hockey League's trading card platform. Built with Next.js, TypeScript and Tailwindcss.
https://cards.simulationhockey.com
MIT License
2 stars 2 forks source link

Bug Report (Submitted by 3723) #210

Closed GuthrieW closed 3 weeks ago

GuthrieW commented 3 weeks ago

Description

Deselection of rarities in trade section not working properly (not working as expected).

Reproduction Steps

https://imgur.com/a/gGWMct2

Trades > Enter a trade partner > Open My Cards > Rarity

I select one or multiple rarities.

1) > Clicking "deselect all" only closes the dropdown, but doesn't reset the selection. 2) > If e.g. only bronze is selected, I can deselect it by clicking bronze again. The dropdown also closes afterwards. 3) > If I have multiple (at least 2) rarities selected, and click the first one I selected, all others that I selected afterwards get automatically deselected. It goes by order, example: I selected ruby, gold, bronze in this order and then click ruby all 3 get deselected. If I only click bronze, the other two stay selected.

Operating System

Windows

Browser

Chrome

Device

Desktop