I want to ask some object what the currently active component is. By 
active I mean that the component is visible and not obscured by any 
other components and is currently the one the user is interfacing 
with.

For example a TabNavigator contains several children, each child 
contains a number of UI fields like TextInput. Now I want ask some 
object not being the TabNavigator which component is currently 
active. I know I can ask the TabNavigator which child is selected but 
the point is that I need to know the composition hierarchy in order 
to ask the question. 

Is there a simple way to obtain which component is visible (not the 
visible property) to the user and is currently receiving user input. 

Thanks in advance.




Reply via email to