From 614bcfaee33741956775c86b3b7154c15a40e004 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Wed, 12 Sep 2018 16:55:58 -0400 Subject: [PATCH] Fix black screen during the pop animation when using rn-screens --- src/views/StackView/StackViewCard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/StackView/StackViewCard.js b/src/views/StackView/StackViewCard.js index c21239b..73aca8a 100644 --- a/src/views/StackView/StackViewCard.js +++ b/src/views/StackView/StackViewCard.js @@ -34,7 +34,7 @@ class Card extends React.Component { const active = position.interpolate({ inputRange: [index, index + 1 - EPS, index + 1], - outputRange: [1, 1, 0], + outputRange: [1, 1, isActive ? 1 : 0], extrapolate: 'clamp', });