Thanks a lot Thomas for pointing me to the right direction. I need to spend some more time into this!!
Thanks, Subhro. On Fri, Mar 19, 2010 at 8:50 PM, Thomas Broyer <[email protected]> wrote: > > On Mar 19, 5:20 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. > > I can only point you to an open issue about adding focus/blur event > handling at the Window level: > http://code.google.com/p/google-web-toolkit/issues/detail?id=68 > > AFAICT the only missing thing is someone to take the time to put it > all together, as the issue page gives all the necessary information to > implement it reliably in all supported browsers. > > -- > 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%[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.
