@facter/ds-core 1.33.8 → 1.33.9
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.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3532,8 +3532,8 @@ function CardSelect({
|
|
|
3532
3532
|
e.stopPropagation();
|
|
3533
3533
|
el.scrollTop = Math.max(0, Math.min(scrollTop + e.deltaY, scrollHeight - clientHeight));
|
|
3534
3534
|
};
|
|
3535
|
-
el.addEventListener("wheel", handleWheel, { passive: false });
|
|
3536
|
-
return () => el.removeEventListener("wheel", handleWheel);
|
|
3535
|
+
el.addEventListener("wheel", handleWheel, { passive: false, capture: true });
|
|
3536
|
+
return () => el.removeEventListener("wheel", handleWheel, { capture: true });
|
|
3537
3537
|
}, [open, filteredOptions]);
|
|
3538
3538
|
const handleScroll = React10.useCallback(() => {
|
|
3539
3539
|
if (!onLoadMore || !hasMore || loading) return;
|