javascriptjqueryfancyboxfancybox-3

How to disable swiping fancybox slides by mousemove


I'm using fancybox 3. I need to turn off swiping fancybox slides by mousemove. I would like to leave only control buttons next\prev. How can I do that? Thanks.


Solution

  • Simply set touch:false to disable touch events.