You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
Describe the bug
When I open a fancybox in iFrame mode and "preload" is set (default = true), the fancybox and the iFrame are resized when the iFrame loads a new URL. This produces a small scrollbar in Chrome, because the height that gets set is 2 pixels less than the iFrame content's real height.
To Reproduce
Steps to reproduce the behavior:
Create simple HTML with fancybox iFrame link.
Open the iFrame fancybox in latest Chrome or FF.
Expected behavior
Calculate the proper height of the iFrame in each browser.
Desktop (please complete the following information):
OS: Windows 10
Latest Chrome / FF
3.3.1
Additional context
When I add 2 to this calculation the vertical scrollbar vanishes:
Line 1928 in //cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.1/jquery.fancybox.js
Describe the bug
When I open a fancybox in iFrame mode and "preload" is set (default = true), the fancybox and the iFrame are resized when the iFrame loads a new URL. This produces a small scrollbar in Chrome, because the height that gets set is 2 pixels less than the iFrame content's real height.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Calculate the proper height of the iFrame in each browser.
Desktop (please complete the following information):
Additional context
When I add 2 to this calculation the vertical scrollbar vanishes:
Line 1928 in //cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.1/jquery.fancybox.js
The text was updated successfully, but these errors were encountered: