Fix notification impeding the input in the rest of the app (#7942)
This commit is contained in:
parent
25326a623a
commit
22e21a4026
1 changed files with 4 additions and 1 deletions
|
|
@ -62,6 +62,9 @@ const styles = StyleSheet.create({
|
|||
touchable: {
|
||||
flexDirection: 'row',
|
||||
},
|
||||
gestureHandler: {
|
||||
flex: 0,
|
||||
},
|
||||
});
|
||||
|
||||
const InAppNotification = ({componentId, serverName, serverUrl, notification}: InAppNotificationProps) => {
|
||||
|
|
@ -148,7 +151,7 @@ const InAppNotification = ({componentId, serverName, serverUrl, notification}: I
|
|||
const database = DatabaseManager.serverDatabases[serverUrl]?.database;
|
||||
|
||||
return (
|
||||
<GestureHandlerRootView>
|
||||
<GestureHandlerRootView style={styles.gestureHandler}>
|
||||
<GestureDetector gesture={gesture}>
|
||||
<Animated.View
|
||||
style={[styles.container, isTablet ? styles.tablet : undefined, animatedStyle]}
|
||||
|
|
|
|||
Loading…
Reference in a new issue