thanhlong203 / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

"Positioning at coordinates" demo breaks in IE9 #269

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to 
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/popup.html 
in IE 9 Beta 9.0.7930.16406
2. Scroll to "Positioning at coordinates"
3. Mouse over the section with the black border
4. Scroll the page down to see more of a difference in the position

What is the expected output? What do you see instead?

  Expected:  The popup would follow the cursor as it does in all other browsers.

  Observed:  The popup is positions well below where it the mouse cursor is.  Scroll the page down adds to the offset difference.

What version of the product are you using? On what operating system?

  IE 9 Beta 9.0.7930.16406 
  Windows 7 Ultimate

Please provide any additional information below.

  Closure Lib ftw!

Original issue reported on code.google.com by steve.sp...@gmail.com on 2 Feb 2011 at 8:54

GoogleCodeExporter commented 8 years ago
There have been a few changes in the positioning code since February.
Is it still an issue?

Original comment by pall...@google.com on 16 Nov 2011 at 4:38

GoogleCodeExporter commented 8 years ago
Yes. I was able to reproduce it in IE9. Please make sure you test it and are 
unable to reproduce it before asking me to test it. 

Thanks

Original comment by steve.sp...@gmail.com on 16 Nov 2011 at 7:31

GoogleCodeExporter commented 8 years ago
Demo is also partially broken in Chrome (the top half of the box doesn't show 
popup).

Original comment by chrishe...@google.com on 27 Apr 2012 at 10:40

GoogleCodeExporter commented 8 years ago
After quick debugging, it looks like the two problems (Chrome and IE9) are 
related. ClientPosition is using wrong viewport offset, causing the popup to 
appear off by viewport offset (hence the problem appearing only when the 
document is scrolled).

Original comment by chrishe...@google.com on 11 May 2012 at 12:29

GoogleCodeExporter commented 8 years ago

Original comment by chrishe...@google.com on 11 May 2012 at 12:30

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1856.

Original comment by Nicholas.J.Santos on 14 May 2012 at 3:40