Closed hwkerr closed 3 years ago
Hi @hwkerr, I see your point. I am currently not maintaining the project because it's in a need of a rewrite which I do not have time for. I hope you understand and if you would like to make a pr I can take a look and merge it in.
Thanks for your response @willb335, that's understandable. I'll look into it myself and make a pr if I come up with a solution.
@hwkerr on npm if you choose not to use your fork. Thanks!
Fantastic! Thanks for making that happen
I've been working on building an app with Chessboardjsx that allows me to navigate through a list of board positions. I've really appreciated this package so far, but I believe I've encountered a problem. Given the following code, the Chessboard does not always update to the new position on button click. Sometimes it takes two increments/decrements for the board to catch up and update.
One example of the issue can be seen by clicking 1. Next, 2. Next, 3. Previous, 4. Previous. If you try for yourself, you'll notice that the board only updates on clicks 1, 2, and 4, but not 3. The issue seems to happen any time you switch direction from Next to Previous or vice versa.
Thank you very much for your help. Please let me know if there's any more information I can provide about this issue.
I've also forked your demo board so that you can see the issue in this sandbox: https://codesandbox.io/s/chessboardjsx-withmovevalidation-v2-forked-yxqgo