SuggestBox popup Z-Index issue (appears behind everything)

243 views
Skip to first unread message

darkflame

unread,
Aug 15, 2011, 4:53:49 PM8/15/11
to Google Web Toolkit
It seems this issue is still present;
http://code.google.com/p/google-web-toolkit/issues/detail?id=1351

Using a SuggestBox in a composite which has had a zIndex value set
means the popup of the suggestions appears behind everything else.
(no Index seems to be set at all on the popup).

So I either need a way to set the suggestions popup index, or some way
to trigger the suggestion box in a way for it to do it automaticaly.
(its being triggered after the composites z-Index is set at the
moment).

Ben Imp

unread,
Aug 15, 2011, 5:47:20 PM8/15/11
to google-we...@googlegroups.com
One of the SuggestBox constructors lets you pass in a custom SuggestionDisplay.  You should be able to just extend the DefaultSuggestionDisplay, override the decorateSuggestionList method, and set the z-index of the widget it makes.

-Ben

Ben Imp

unread,
Aug 15, 2011, 5:51:06 PM8/15/11
to google-we...@googlegroups.com
I suppose you could also use CSS, too.  That would seem to be a bit less hacky.

-Ben

Thomas Wrobel

unread,
Aug 16, 2011, 9:03:46 AM8/16/11
to google-we...@googlegroups.com
Yes, CSS seemed the best option and worked. Cheers.

Still, its a strange issue to still be hanging around.

~~~~~~
Reviews of anything, by anyone;
www.rateoholic.co.uk
Please try out my new site and give feedback :)

> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/0xAyuDytVzkJ.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-tool...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

Reply all
Reply to author
Forward
0 new messages