fancybox icon indicating copy to clipboard operation
fancybox copied to clipboard

Scroll disabled and opacity not restored after fancybox close.

Open ediazpacheco opened this issue 14 years ago • 2 comments

Hi all.

I've an issue upgrading from v1.3.4 to v2.1.2. In the new version the scroll is disable and the opacity of the page is not well restored after closing fancybox

to reproduce the issue you can compare this urls:

http://mikelpierre.com (no issue, v1.3.4). http://mikelpierre.com?fancybox2=1 (with issue, v2.1.2).

Thanks

ediazpacheco avatar Oct 19 '12 02:10 ediazpacheco

You are using an outdated version of jQuery and due to some bugs that were fixed in 1.7 (http://blog.jquery.com/2011/11/03/jquery-1-7-released/), the last animation callback does not execute.

You have to update jQuery or wait for the next commit, I`ll include a fix.

fancyapps avatar Oct 19 '12 10:10 fancyapps

Yes, was an outdated version of jquery. Thank you for the support and for the great fancybox.

ediazpacheco avatar Oct 19 '12 16:10 ediazpacheco