I currently have the swipe option available for side panels. I also have a horizontally scrollable list of chips/tags on one page. When scrolling through that list, the side panel unintentionally opens. Is there a way to prevent that? I tried the solution below, but that didn’t work.
const PreventSwipe = () => {
event.stopPropagation();
}
<div onscroll={PreventSwipe} ontouchstart={PreventSwipe} ontouchmove={PreventSwipe}>
...
list of horizontally scrollable tags
...
</div>