Answer the question
In order to leave comments, you need to log in
How to disable drag and drop in fancybox 3?
Good day. I'm making a website using fancybox 3. Here's how:
Popup needs to be adapted somehow. The idea came to initialize the slider from the previews below. But when you swipe this slider, the fancibox itself also slides. Is it possible to disable funsybox dragging over a specific area? You can make it easier - when resizing, replace the popup with an image, but I did not find a reinitialization method in the fancibox. Links to what has already been implemented in the same situation are also welcome, even if not with the help of a fancibox. Help me to understand
Answer the question
In order to leave comments, you need to log in
in the link attributes specify:
<a data-options='{"touch" : false}' data-src="#box" href="javascript:;">Запуск fancybox</a>
<a data-touch='false' data-src="#box" href="javascript:;">Запуск fancybox</a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question