react-chessboard icon indicating copy to clipboard operation
react-chessboard copied to clipboard

Added tablet support for onDragOverSquare function

Open KeeghanM opened this issue 1 year ago • 1 comments

On tablet, the onDragOverSquare function wasn't being called. I added in an onTouchMove event on the square Div which now calls the onDragOverSquare if the square is different,

This maintains current behaviour of it only being called onEnter.

KeeghanM avatar Mar 11 '24 20:03 KeeghanM

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-chessboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 11:11am

vercel[bot] avatar Mar 11 '24 20:03 vercel[bot]