Saturday, August 23, 2014

SuggestBox initial selection in Firefox

We're using the SuggestBox in a few places and one thing is messing up our users. If you have the mouse placed over the area where the suggest box is going to appear, the entry that is under the mouse cursor automatically gets highlighted after the suggest box actually does appear.

This happens in Firefox but not Chrome. In Chrome, when the suggest box appears, no entry is highlighted until you actually move the mouse, which is what we want.

I haven't tested other browsers. I should note that this appears to be a Firefox-specific issue because I've noticed the same behaviour in Google, GMail, and Facebook. But thought I'd ask anyway: can anyone think of a way of making sure no item is selected when the suggest box first appears, even if the mouse happens to be there already? (I've tried SuggestMenu.selectItem(-1) already.)

-- Kyle

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment