u
This commit is contained in:
@@ -211,6 +211,7 @@ class FillSpace extends Component {
|
||||
_handleWheel = (event) => {
|
||||
const { items } = this.props;
|
||||
if (!Array.isArray(items)) return;
|
||||
if (this.ref && event.target && !this.ref.contains(event.target)) return;
|
||||
const { pageSize, currentPage } = this.state;
|
||||
const pageCount = Math.max(1, Math.ceil(items.length / Math.max(1, pageSize)));
|
||||
const delta = event.deltaY || 0;
|
||||
|
||||
Reference in New Issue
Block a user