Clariity / react-chessboard

The React Chessboard Library used at ChessOpenings.co.uk. Inspired and adapted from the unmaintained Chessboard.jsx.
https://react-chessboard.vercel.app
MIT License
351 stars 103 forks source link

Figure shift due to scrolling #163

Open Konstantin9658 opened 1 month ago

Konstantin9658 commented 1 month ago

Hi, there is a similar problem, but it uses transform. In my case, I do not use transform, but only add a scroll to the page, I do not move the board itself. Maybe someone else has encountered a similar problem and managed to fix it?

screen-capture.webm

Konstantin9658 commented 1 month ago

I dare to guess that this is caused by the fact that the dragged layer has a fixed position, is this a mandatory parameter? @Manukyanq could you give a short comment on this issue? Thanks! image