Artsvi Manukyan
Artsvi Manukyan
HI! Have you seen https://github.com/Clariity/react-chessboard/pull/88? Despite this pull request is on pause, generally the code works fine. The approach of this feature still needs to be reviewed and reconsidered, since...
Hi @banool ! The issue more likely is somewhere here in this `useEffect`. ```js useEffect(() => { console.log("blah"); if (remoteGame === undefined) { return; } console.log("setting"); setChessBoardPosition(gameToFen(remoteGame)); }, [remoteGame, localGame,...
> Hi! When can we expect to merge this function into a code? Would be a crucial into my project 🙏 Hi, currently it is on pause, but I will...
Ok, I couldn't found nothing better than the structure like this for fully customizable board editor. The current structure I suggest to looks like: ``` jsx import {ChessboardDnDProvider, ChessBoard, SparePiece...
@LalaSimon Please look at `onSparePieceDrop` realisation, I think its what you are asking for: https://github.com/Clariity/react-chessboard/pull/88/files#diff-9248df83add55acf7fd02bae20bbed94bdff0987045464d8d0cafe30b27504afR1083 Also it's possible to add much more listeners, like `onSparePieceDragStart`, `onSparePieceDrag`, `onSparePieceDragEnd`, `onSparePieceClick`, `onSparePieceRightClick` ......
Feel free to use the build of my fork for a while, this feature still needs stabilisation before merging and approve from Ryan. (IDK how much time it will require)
@Clariity can we somehow mark this feature like BETA, and release it with warning that things and props may change in the future? It will be super useful to get...
> Almost there, thank you for contributing this feature, looks like there is some slight alignment issue with the L shaped arrows not pointing to the middle of the target...