-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Hi
I have two questions?
- How to get focus on the Touchable component when the modal is opened.
or example:
Let's create a modal from a TouchableHighlight
<TouchableHighlight onPress={()=>{
let modal = new ModalManager(<View style={modal container style}>
<TouchableHighlight><Text>Button 1</Text></TouchableHighlight>
<TouchableHighlight><Text>Button 2</Text></TouchableHighlight>
</View>);
}}>
<Text>Open Modal</Text>
</TouchableHighlight>
If there is no a touch screen, but the user has a physical keyboard, d-pad or TV Remote,
How Can we make the Button 1 to get auto focussed when the modal is opened?
- How can we force the focus to stay inside the modal?
React-native have an excellent ability to move the focus between touchable components with
D-pad, TV Remote or physical Keyboard (arrows), but the opened modal behaves like a part of the parent. It should be like a trully modal
best regards
Metadata
Metadata
Assignees
Labels
No labels