Hi,

I need to have an AutoCompleteTextField with position: fixed, because it
sits inside a fixed Modal. However, Wicket calculates the position
coordinates based on the top of the document and not the top of the screen,
so the dropdown doesn't show up in the right place when there is a
scrollbar.

To fix this, I tried to add custom JavaScript code to the
AutoCompleteBehavior, by overriding updateAjaxAttributes and adding my own
AjaxCallListener. However, this didn't work because AutoCompleteBehavior
seems to ignore any AjaxCallListener, as reported here:
http://mail-archives.apache.org/mod_mbox/wicket-users/201301.mbox/%3c1358755750041-4655560.p...@n4.nabble.com%3E.

Could you tell me what's the best way of achieving this?

Thank you,

Luis Pureza

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-with-position-fixed-tp4668713.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to