cbeyls / slimbox

The ultimate lightweight Lightbox clone
http://www.digitalia.be/software/slimbox2
50 stars 24 forks source link

Incorrect width on Chrome 3.0.195.38 #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get Chrome 3
2. Go to http://www.digitalia.be/demo/slimbox/
3. Open any image

What is the expected output? What do you see instead?
The expected output is the full picture. What I see is just the left side 
of the picture displayed with incorrect width. The right side margin is 
missing.

What version of the product are you using? On what operating system?
Slimbox 1.71, Mootools 1.2.4 (same with any Mootools 1.2 core)

Please provide any additional information below.
The slimbox 1.58+mootools 1.11 core seams to work as expected

Original issue reported on code.google.com by bernardo...@gmail.com on 8 Jan 2010 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
It was a bug in Google Chrome which has been fixed in the next releases. 
Current 
version, Chrome 4, works perfectly.

Original comment by christophe.beyls@gmail.com on 20 Apr 2010 at 2:22

GoogleCodeExporter commented 9 years ago
I have not experienced this problem with Chrome and I have been using it for a 
long time, today however for some reason my webpage shows this problem with 
Slimbox 1.71. I am using Chrome 7.0.517.41 (works fine with FF/IE).

Original comment by mlog...@redliners.se on 24 Oct 2010 at 12:36

GoogleCodeExporter commented 9 years ago
Small Workaround until the new Chrome-Version is comming out...

search for "M=h.offsetWidth;s=h.offsetHeight;" in function k

after "M=h.offsetWidth;s=h.offsetHeight;" type this -> 
a.setStyles({top:Math.max(0,y-(s/2)),width:M,height:s,marginLeft:-M/2,display:""
});

there is no width-animation. but the image is shown.

Original comment by stefan.t...@gmail.com on 25 Oct 2010 at 7:37

GoogleCodeExporter commented 9 years ago
mlog...@redliners.se, try update your mootools to latest version (1.2.5), this 
helped me

Original comment by Medvedc...@gmail.com on 9 Nov 2010 at 8:52

GoogleCodeExporter commented 9 years ago
Thank you!

Original comment by speustu...@gmail.com on 13 Nov 2010 at 3:15

GoogleCodeExporter commented 9 years ago
Thank you

Original comment by laurent....@gmail.com on 6 Apr 2011 at 6:12

GoogleCodeExporter commented 9 years ago
Thanks for this, it was the mootools version.

Original comment by byhorat...@gmail.com on 12 May 2011 at 5:32

GoogleCodeExporter commented 9 years ago
Thank you for the mootools upgrade tip.

Original comment by Bertrand...@gmail.com on 30 Jun 2011 at 3:46