This commit is contained in:
seb
2026-10-11 03:00:44 +02:00
parent 023a8889cd
commit 266f5212aa

View File

@@ -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;