SuggestBox's SuggestionDisplay PopupPanel's div is last element

146 views
Skip to first unread message

nieldw

unread,
Oct 17, 2011, 8:01:59 AM10/17/11
to Google Web Toolkit
In my GWT app I have a GWT SuggestBox which I use for a full text
search. The problem is that when you scroll in the page while
SuggestionDisplay is shown, the results move down the page as you
scroll.

When I use Firebug to inspect the page, I see that the text box's
<div> element is in the correct place, but the suggestion display's
popup's <div> sits right above the closing </body> tag. Moving the
<div> with Firebug into the "wrapper" <div> makes the search results
sticky as desired (it stays at the top of page).

Is this a BUG or can I make the suggestion display go into the right
position? SuggestionDisplay objects do not have any public methods I
can use to manipulate it in any way using the DOM or so. SuggestBox
constructs it's own SuggestionDisplay, and you can provide it too, but
even so, how can I make the <div> go into the correct position?

Has anyone else had the same problem? I had a look, but I don't see an
issue that relates to this in GWT's issue tracking system.

Thanks

Ps: Also posted at http://stackoverflow.com/questions/7767660/make-the-suggestiondisplay-div-go-into-the-correct-position

Stephen Haberman

unread,
Oct 18, 2011, 10:57:24 AM10/18/11
to google-we...@googlegroups.com
I think this is worth filing a bug about. If you could include a minimal example that reproduces the problem, that would be helpful.

Thomas Broyer

unread,
Oct 18, 2011, 11:05:55 AM10/18/11
to google-we...@googlegroups.com

Stephen Haberman

unread,
Oct 18, 2011, 1:13:29 PM10/18/11
to google-we...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages