Project: Google Web Toolkit

Revision: 3619

Author: jlabanca@google.com

Date: 04 Sep 2008 16:20:00

Changes:

MenuBar focuses itself when a MenuItem is selected for any reason so the user can seamlessly switch between the mouse and keyboard. However, this means that the SuggestBox loses focus as soon as the first suggestion is automatically highlighted. This patch makes the focus optional in MenuBar.

Patch by: jlabanca
Review by: ajr

Files:
modified: /trunk/user/src/com/google/gwt/user/client/ui/MenuBar.java (try)
modified: /trunk/user/src/com/google/gwt/user/client/ui/SuggestBox.java (try)
modified: /trunk/user/test/com/google/gwt/user/client/ui/MenuBarTest.java (try)
Diff: To list