diff --git a/src/components/xui/multi-select.tsx b/src/components/xui/multi-select.tsx index 285cff4..219e891 100644 --- a/src/components/xui/multi-select.tsx +++ b/src/components/xui/multi-select.tsx @@ -212,6 +212,14 @@ export const MultiSelect = React.forwardRef< } }; + const stopWheelEventPropagation: React.WheelEventHandler = (e) => { + e.stopPropagation(); + }; + + const stopTouchMoveEventPropagation: React.TouchEventHandler = (e) => { + e.stopPropagation(); + }; + return ( setIsPopoverOpen(false)} + onWheel={stopWheelEventPropagation} + onTouchMove={stopTouchMoveEventPropagation} >