psi-4ward / Lightbox4ward

Lightbox extension for Contao
3 stars 2 forks source link

fancybox scrolls to top #25

Closed lichtscheu closed 6 years ago

lichtscheu commented 7 years ago

Hi, i'm using lightbox4ward 3.0.2 with Contao 3.5.17.

If foundation.min.css v6.2.4 is loaded, if you open a fancybox it first scrolls to the top. So after every Image/Gallery you have to scroll back down to the next link, really annoying.

The only Quickfix i found til now is to set overlay: { locked: true} to false at j_lightbox4ward.html5.

Without foundation.min.css fancybox works fine.

Any other suggestion what's going wrong when foundation-css is loaded?