lshdummy1 / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

IE closes bubble when clicked within it on scrolled page #352

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make a page that is long so that scrolling is needed.
2. Make the page such that a bubble is opened while the page is scolled.
3. Click somewhere in the bubble with the mouse.

What is the expected output? What do you see instead?
The bubble should stay visible, but instead it vanishes, the
Ajax.WindownManager.onmouseDown event calls the cancelPopups.

What version of the product are you using? On what browser and what
operating system?
Irrelevant.

Please provide any additional information below.
The error is caused by line 125 of Ajax.dom.js where the event page
coordinates are gathered. IE sets document.body.scrollTop always to zero,
it should have been document.documentElement.scrollTop, then the bug is gone.

Original issue reported on code.google.com by m.d.na...@hetnet.nl on 18 Feb 2010 at 12:58

GoogleCodeExporter commented 8 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 10:13