oakmac / chessboardjs

JavaScript chessboard
https://chessboardjs.com
MIT License
2k stars 406 forks source link

The change is in response to issue #74 #236

Open kgcorner opened 1 year ago

kgcorner commented 1 year ago

The commit removes call evt.preventDefault() from the touchmoveWindow function as this call will be ignored as per the below feature request and the screen stays scrollable. https://chromestatus.com/feature/5093566007214080 Screen scrolling can be stopped by using the callback method onDragStart and onDrag by adding and removing CSS property "overflow:hidden;" on the body tag