Reputation: 240
Steps to reproduce:
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.
Upvotes: 8
Views: 2044
Reputation: 18193
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.
Upvotes: 3
Reputation: 39946
Can you try using TitleWindow instead of group with a skinnable container? We use TitleWindow all the time and it does tab correctly.
Upvotes: 0