PDA

View Full Version : [UNKNOWN][3.??] splitbutton not keeping focus



Skate
18 Dec 2009, 3:44 PM
When keyboard tabbing through a collection of split buttons, you can trigger the menu using either ENTER or SPACEBAR. Once the menu is displayed, you can select a menu item and expect that the menu item handler will fire and you can do what you want with the elements and focus. However, if you press ESC, then you lose all focus to the menu items, menu, and even the split button.

I'm thinking this is a bug or simply a design oversight. Shouldn't the parent split button that originally had focus automatically get that focus back once a menu is closed?

Or is there another way to detect that a menu has closed (and I've tried onHide, onBlur, etc...) in order to re-set the focus back to the parent split button?

Any help here would be much appreciated.

TIA.

- Skate -