Describe the bug
I have a fairly straightforward modal with buttons. When the modal is displayed, pressing either of the buttons does not always trigger the Press event (intermittent with no clear pattern).
Expected behavior
Any button press should be registered.
Code Snippet
<Text style={StyleSheet.flatten([styles.modalHeaderText, headerStyle])}>{headerText}
{children}
{!hideButtons &&
<ButtonGroup
onPress={(selectedIdx) => {
onButtonSelect(selectedIdx);
hide('close button pressed');
}}
selectedIndex={0}
buttons={buttonNames}
containerStyle={styles.modalContainer}
buttonContainerStyle={styles.modalBottonContainer}
textStyle={styles.modalButtonText}
/>
}
Smartphone (please complete the following information):
- Device: Samsung S22+
- OS: Android
Additional context
React Native: 0.76.6
"react-native-magic-modal": "^6.0.3"
Describe the bug
I have a fairly straightforward modal with buttons. When the modal is displayed, pressing either of the buttons does not always trigger the Press event (intermittent with no clear pattern).
Expected behavior
Any button press should be registered.
Code Snippet
<Text style={StyleSheet.flatten([styles.modalHeaderText, headerStyle])}>{headerText}
{children}
{!hideButtons &&
<ButtonGroup
onPress={(selectedIdx) => {
onButtonSelect(selectedIdx);
hide('close button pressed');
}}
selectedIndex={0}
buttons={buttonNames}
containerStyle={styles.modalContainer}
buttonContainerStyle={styles.modalBottonContainer}
textStyle={styles.modalButtonText}
/>
}
Smartphone (please complete the following information):
Additional context
React Native: 0.76.6
"react-native-magic-modal": "^6.0.3"