react-chessboard-ui 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2136,7 +2136,7 @@ var ChessBoardControlLayout = function ChessBoardControlLayout(props) {
2136
2136
  if (pressed) {
2137
2137
  var pageX = event.pageX,
2138
2138
  pageY = event.pageY;
2139
- onGrabbing(pageX, pageY);
2139
+ onGrabbing(pageX, pageY - window.scrollY);
2140
2140
  }
2141
2141
  };
2142
2142
  var handleContextMenu = function handleContextMenu(cellPos) {