react-solitaire
react-solitaire copied to clipboard
Dragging a card from inside a tableau pile and dropping it onto a foundation pile is possible and corrupts the deck
I dragged a 4h
from a tableau pile ending in ... 4h 3s
and dropped it onto a foundation pile that had 3h
at the top. This resulted in the 4h
being duplicated and the 3s
disappearing:
To the best of my knowledge (from playing Solitaire back in Windows 3.1) you should not be able to remove a card from inside a pile.
This was the situation before the bug manifested:
Hi @specious, thanks for opening this issue :smiley:
I'll have a look asap, seems like a nasty bug!
One question though, you managed to reproduce the issue by playing the game in a linear fashion, or you were time traveling with the Redux Dev Tools?
By playing the game. I used the debugger only to show the previous step.