When "eventPassthrough" is activated, mouse does not drag gallery, instead it try to drag image (standard chrome behavior). I added if statement and activate "eventPassthrough" only on mobile devises, but there is problem. For example, on Windows tablets I could use mouse or touch screen, but my solution disables one of these.
How to enable "eventPassthrough" only for touch events (vertical scroll)?
When "eventPassthrough" is activated, mouse does not drag gallery, instead it try to drag image (standard chrome behavior). I added if statement and activate "eventPassthrough" only on mobile devises, but there is problem. For example, on Windows tablets I could use mouse or touch screen, but my solution disables one of these.
How to enable "eventPassthrough" only for touch events (vertical scroll)?