I am using a SuggestBox which I enable or disable with the help of a FocusListener on the TextBox and a flag in the SuggestOracle. This works very fine when I select a Suggestion via keyboard. However if I select a Suggestion via mouse click the onLostFocus method closes the SuggestionPopup before the Suggestion is selected.
I tried to solve this bug with the help of DeferredCommand, but then I found out that the SuggestionMenu also uses this mechanism to fire the SelectionCommand and so the Popup still closes before the SelectionCommand is fired. I also thought of using a Timer with a special delay to disable the SuggestBox in the onLostFocus method, but this is the last thing I want to do, because of very different execution durations of the scripts in different browsers. Has anyone got an idea to solve this problem? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---