-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Code snippet:
<MaterialDialog
visible={this.state.isVisible}
okLabel={'OK'}
onOk={this.closeModal}
onCancel={this.closeModal}
scrolled={true}
>
<ScrollView>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
<Text style={{padding: 100}}>Lorem ipsum ....</Text>
</ScrollView>
</MaterialDialog>
The View containing the children should set onStartShouldSetResponder , as detailed in this SO:
https://stackoverflow.com/questions/33060859/react-native-touchable-is-disabling-scrollview
Tested the fix and it works well. I'll submit a PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels