lichess-org / chessground

Mobile/Web chess UI for lichess.org
https://lichess.org
GNU General Public License v3.0
1.01k stars 260 forks source link

Braked Animation when an en passant capture is made #297

Open Denner6 opened 3 months ago

Denner6 commented 3 months ago

Ok, I know that chessGround does not have any chess logic inside it, I using chessJS to do the chess logic for en passant capture, all working fine. Except for the en passant animation when clicking (not dragging) , the animation is braked, because i use fen: to load the chess board without the captured en passant pawn. I tried to use animation field. but don't see work. How to can i fix it?

Braked animation:

https://github.com/lichess-org/chessground/assets/105571034/447a794e-2b52-4d04-ac71-772b61168931

hjonasson commented 3 months ago

I watched you video a few times. What is it that is broken about the animation?