I don't think the blur even would ever get fired when the change of
window happens. I have faced a similar problem with GXT API, while I
was trying to hide the combo's list when the user moves out of the
current window. Still I'm clueless on that part. :(

On Mar 19, 10:20 am, Sudeep S <[email protected]> wrote:
> have you tried hiding the suggestions on blur event, to my knowledge that is
> fired when the user moves away from the current window
>
>
>
> On Fri, Mar 19, 2010 at 9:50 AM, subhro <[email protected]> wrote:
> > Hello,
> > I am trying to implement a google.com search form style auto-suggest
> > box.
>
> > I have reached a stage where the drop down with suggestions appear
> > correctly.
> > However on changing windows (click on any other app window on the
> > desktop)  The or click any where else other that the "body" of the
> > page, DOES NOT close the drop down. I would idealy like to close this
> > drop down the moment the user clicks on anything else other than the
> > "current application page"
>
> > Using firebug i found that google uses a hidden table, to display all
> > the suggestions. It sets the visibility to hidden the moment the user
> > moves away from the current window to any other window. How do you
> > detect that the user has moved away from the current window?
>
> > Onblur of the auto-suggest textfield does not seem to work in this
> > case.
>
> > How are gwt experts on this list solving this "loss of focus on the
> > current browser window" event in the any GWT page?
>
> > Any pointers in this direction would be appreciated.
>
> > Thanks,
> > Subhro.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%2Bunsubs 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to