Skip to content

Commit 6b0e80c

Browse files
author
human
committed
注释掉键盘收齐的手势包裹解决androidnativestack下webview页面内点击无响应
1 parent 56ab228 commit 6b0e80c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/webpack-plugin/lib/runtime/components/react/mpx-keyboard-avoiding-view.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const KeyboardAvoidingView = ({ children, style, contentContainerStyle }: Keyboa
102102
}, [keyboardAvoid])
103103

104104
return (
105-
<GestureDetector gesture={gesture}>
105+
// <GestureDetector gesture={gesture}>
106106
<View style={style}>
107107
<Animated.View
108108
style={[
@@ -113,7 +113,7 @@ const KeyboardAvoidingView = ({ children, style, contentContainerStyle }: Keyboa
113113
{children}
114114
</Animated.View>
115115
</View>
116-
</GestureDetector>
116+
// </GestureDetector>
117117
)
118118
}
119119

0 commit comments

Comments
 (0)