fancybox 3 helpers locked true alternative?

809 Views Asked by At

In fancybox 2 you have the helpers option, i used this to stop the browser from scrolling to the top after a fancybox exit:

helpers: { overlay: { locked: true } } what is the fancybox 3 equilevant? i can't find it in the documentation. The helpers option does not work in fancybox 3 and default it scrolles to the top in my fancybox 3 implementation.

1

There are 1 best solutions below

0
CimiGod On

You may use

{
  backFocus: false
}