8
votes

Steps to reproduce:

  1. Create a modal popup to popup with popupmanager (mine is a group with a skinnable container inside of it)
  2. Put field components (textinputs) on the modal popup
  3. Attempt to tab between controls

Tab switches to controls behind the modal-popup and ignores the fact that the modal is there. The tab loop only contains controls behind the modal.

I've tried everything from setting tabChildren, to hasFocusableChildren. I can't implement IFocusManager as it's Halo and my modal is a Spark group, but would that work in some capacity? It really seems like Flex just ignores the modal in its focusmanager.

3

3 Answers

3
votes

This is not a bug, I'm assuming it's by design.

Group is supposed to be a lightweight container -- just for grouping things together. Group does not implement the IFocusManagerContainer interface.

SkinnableContainer (or more correctly SkinnableContainerBase) implements that interface, and that's why tabbing works when you use it w/PopupManager.

1
votes

Solution can be found here (if you want to use a Group):

http://googolflex.com/?p=650

0
votes

Can you try using TitleWindow instead of group with a skinnable container? We use TitleWindow all the time and it does tab correctly.