diff --git a/src/DraggableList.js b/src/DraggableList.js index 3aeeb59..0db236c 100644 --- a/src/DraggableList.js +++ b/src/DraggableList.js @@ -67,7 +67,7 @@ class DraggableGridView extends Component { get wrapperStyle() { const { itemsPerRow, itemHeight } = this.props; - const height = (Math.round(this.itemsLength / itemsPerRow) + 1) * itemHeight; + const height = (Math.floor(this.itemsLength / itemsPerRow) + 1) * itemHeight; return { height }; }