-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I have diff, but I can't push and create PR
diff --git a/lib/ActionSheetCustom.js b/lib/ActionSheetCustom.js
index 531c2fb..6d35a4a 100644
--- a/lib/ActionSheetCustom.js
+++ b/lib/ActionSheetCustom.js
@@ -175,7 +175,18 @@ class ActionSheet extends Component {
onRequestClose={this.cancel}
>
<View style={styles.wrapper}>
- <Text style={styles.overlay} onPress={this.cancel} />
+ <Animated.Text
+ style={[
+ styles.overlay,
+ {
+ opacity: sheetPositionY.interpolate({
+ outputRange: [0.4, 0],
+ inputRange: [0, this.translateY],
+ extrapolate: 'clamp',
+ }),
+ },
+ ]}
+ onPress={this.cancel}
+ />
<Animated.View
style={[
styles.backdrop,Metadata
Metadata
Assignees
Labels
No labels