Closed nofx77 closed 2 years ago
Hi,
If you wish to disable "vertical drag to close" feature, then set dragToClose: false
. If you wish to disable all touch events, then set:
Fancybox.bind('[data-fancybox]', {
Carousel: {
Panzoom: {
touch: false,
},
},
});
Hi guys, im trying desperately to disable the swipe/drag when I open an inline-content.
This my html :
<a href="#" data-fancybox="dialog" data-src="#modal-hightlights" class="button primary hollow small">Edit</a>
I try :
data-options='{"touch" : false}'
dont workdont work
What I missing?
Thank you!