Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
6.6.0
-
None
Description
In wicket-autocomplete.js function getPosition() is used to compute the position of the input that the autocomplete is attached to. It uses the offsetTop and offsetLeft DOM properties, which does not take the borders into account. This causes the popup to be misplaced in all three browsers I have tested: IE9, Firefox 16 and Chrome 22.
A possible solution is to take the (non-standard) clientTop and clientLeft properties into account, too.