R
R
Rasul Gudantov2018-11-08 00:13:40
JavaScript
Rasul Gudantov, 2018-11-08 00:13:40

How to close a window in FancyBox 3 when clicking outside of an image?

Hello! Tell me how in the latest version of FancyBox you can close the modal window when you click on the black background around the image (outside the image). It is on the mobile version, on the PC version it works stably

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rasul Gudantov, 2018-11-08
@Grarnik

there used to be a function 'hideOnOverlayClick' : true , but now it doesn't work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question