From 266f5212aa7886722d8bfbc0250df8b3aeb03360 Mon Sep 17 00:00:00 2001 From: seb Date: Sun, 11 Oct 2026 03:00:44 +0200 Subject: [PATCH] u --- src/FillSpace.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FillSpace.jsx b/src/FillSpace.jsx index 498e423..2b06748 100644 --- a/src/FillSpace.jsx +++ b/src/FillSpace.jsx @@ -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;