durgaprassad7 / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

simple modal windows do not show correctly in chrome at certain zoom levels #82

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
SimpleModal 1.4.1

jQuery 1.7.1

in chrome

problems using simple modal in chrome (version 18.0.1025.142 m) when the zoom 
in chrome customize drop down is set to 90%. the modal never get full size.

Simple set the zoom level to 90% then click on one of the examples on the 
simple modal web page.

Original issue reported on code.google.com by jay.hi...@gmail.com on 10 Apr 2012 at 4:23

GoogleCodeExporter commented 8 years ago
It looks like this happens because $().height() in Chrome is susceptible to 
some kind of rounding error, and can report 1 or 2 instead of zero. The 
attached diff appears to fix the problem.

Original comment by jkr...@gmail.com on 24 Apr 2012 at 2:44

Attachments:

GoogleCodeExporter commented 8 years ago
your height fix worked great but I did have to add the same for the width.

Original comment by jay.hi...@gmail.com on 8 May 2012 at 11:18