Closed (duplicate)
Project:
Lightbox2
Version:
5.x-2.8
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2008 at 20:45 UTC
Updated:
14 Jul 2008 at 21:48 UTC
I've upgraded to 5.x.2.8, on two seperate sites, incl. http://johnclements.net/content/proof-community-important, both of which I've tested in FF3 and IE7. This comment only applies to FF3.
Once the lightbox opens and the videos are playing the lightbox background extends to an extent that forces an horizontal scroll bar, with about 25px additional width supplied.
Any idea why this is? Is it a CSS issue or php?
Thnx.
Comments
Comment #1
jbc commentedI meant to add that this effect works at varying resolutions / window sizes: incl. 768 x 1024 and 1152 x 864...
Comment #2
stella commentedThis issue has already been raised in http://drupal.org/node/276891 A patch was provided in comment #11, however it meant that the width wasn't always reliably detected and so was rolled back. I decided it was better to have an overlay which is slightly too big than one that is noticeably too small. I haven't found another solution.
It only affects Firefox and is due to the fact that it includes the vertical scrollbar width when calculating the width of the window. I consider this a bug with FF. You can verify this is the issue by trying it on a site without a vertical scrollbar where you shouldn't see the issue.
Cheers,
Stella