Matt Emery
Matt Emery
+1 for this fix. I noticed a massive improvement in speed for my page which has 100+ images.
This only fixes the background issue. The modal is still positioned incorrectly above the user's viewport. It seems to relative to the page top, rather than viewport top. It worked...
It seems that `$('body').scrollTop()` is the problem. http://dev.w3.org/csswg/cssom-view/#dom-element-scrolltop Using `body` or anything else for scrollTop does not work because the element requires a CSS Layout Box - presumably an overflow...
More discussion here: https://github.com/zurb/foundation/issues/6154
The same scenario happened to me too, I too fixed it by downloading the version stored on Cloudflare's CDN.
Still reproducing on **2.1.223** (7 Aug 2026), one week past the 2.1.220 confirmation above. Adding this case because the injected block was a third shape, and because it breaks the...
@ramiyahya is correct, I had the same issue.
//fancybox slideshow (play/pause button not working in Beta3) $('body').on('click', 'a.btnPlay', function(){ if($(this).hasClass('btnPlayOn')) { $.fancybox.slideshow.stop(); } else { $.fancybox.slideshow.start(); } });
Put in the web page html, just before the closing body tag.