I am building a chess app, where in the beginning you have to place pieces by yourself. Seems like SparePiece component is a perfect solution for me. But, when I use it like this:
i can grab the piece, but it's not following my cursor. However, if i continue to drag and drag over the board - the squares start to glow yellow and when I drop it - it takes it's place on the board.
So, everything is perfect, except the piece is not following the cursor while being dragged.
Don't you think this behaviour should be implemented by default? Can you even accomplish that? Is there any workaround on your mind for that?
With regards.
Hello there, thanks for your amazing library!
I am building a chess app, where in the beginning you have to place pieces by yourself. Seems like SparePiece component is a perfect solution for me. But, when I use it like this:
i can grab the piece, but it's not following my cursor. However, if i continue to drag and drag over the board - the squares start to glow yellow and when I drop it - it takes it's place on the board. So, everything is perfect, except the piece is not following the cursor while being dragged.
Don't you think this behaviour should be implemented by default? Can you even accomplish that? Is there any workaround on your mind for that? With regards.