Open sampie777 opened 9 months ago
I tried to apply this patch, to fix the issue, but it doesn't seem to be generated into the source code?...
diff --git a/node_modules/react-native-popup-menu/src/Backdrop.js b/node_modules/react-native-popup-menu/src/Backdrop.js
index 99925c5..8957b21 100644
--- a/node_modules/react-native-popup-menu/src/Backdrop.js
+++ b/node_modules/react-native-popup-menu/src/Backdrop.js
@@ -1,6 +1,6 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
-import { View, StyleSheet, TouchableWithoutFeedback, Animated } from 'react-native';
+import { View, StyleSheet, Animated, Pressable } from 'react-native';
import { OPEN_ANIM_DURATION, CLOSE_ANIM_DURATION, USE_NATIVE_DRIVER } from './constants';
class Backdrop extends Component {
@@ -33,11 +33,12 @@ class Backdrop extends Component {
render() {
const { onPress, style } = this.props;
return (
- <TouchableWithoutFeedback onPress={onPress}>
+ <Pressable onPress={onPress}
+ onTouchStart={onPress}>
<Animated.View style={[styles.fullscreen, { opacity: this.fadeAnim }]}>
<View style={[styles.fullscreen, style]} />
</Animated.View>
- </TouchableWithoutFeedback>
+ </Pressable>
);
}
By Inalda