I am currently tackling a project that involves dragging operations on a canvas, making scrolling with a single finger impractical. My goal is to enable scrolling using two fingers instead.
After testing different touch-action
values, I discovered that pinch-zoom
brings me close to what I need, but unfortunately, it also zooms the page. Trying various workarounds to disable zoom caused multiple issues. I also explored custom scrolling using gesture events, but it resulted in poor performance compared to native scrolling.
Is there an elegant solution to enforce two-finger scrolling without pinch-to-zoom functionality?