BYK / av-jslib

Automatically exported from code.google.com/p/av-jslib
Other
1 stars 0 forks source link

AutoComplete positioning bug #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. AutoComplete input field but it is not posite enable a field which is in
a scrollable div.
2. Scroll the div.
3. See that the AutoComplete's position is incorrect.

What is the expected output? What do you see instead?
The AutoCompelte should be just below the input field but it is far from it.

Original issue reported on code.google.com by madBYK on 11 Apr 2009 at 8:10

GoogleCodeExporter commented 9 years ago
This is due to miscalculation of the input element's position with
DOM.getElementPosition function, which does not take the scroll positions into 
account.

Original comment by madBYK on 11 Apr 2009 at 8:12

GoogleCodeExporter commented 9 years ago
Changing the position calculation function to a more compatable one which will
eventually solve this problem also.

Original comment by madBYK on 11 Apr 2009 at 6:15

GoogleCodeExporter commented 9 years ago
Fixed by r98.

Original comment by madBYK on 18 Apr 2009 at 10:08