Closed jesperschlegel closed 4 years ago
"wasSquareClicked" is undefined if sparePieces are enabled and the onDrop handler is defined. Example:
<Chessboard onDrop={(data) => {console.log(data)}} sparePieces={true}/>
Just drag a spare piece on the chessboard
I just closed issue #44 which may have solved this issue, could you take a look?
"wasSquareClicked" is undefined if sparePieces are enabled and the onDrop handler is defined. Example:
<Chessboard onDrop={(data) => {console.log(data)}} sparePieces={true}/>
Just drag a spare piece on the chessboard