mirror of
https://github.com/status-im/react-navigation-stack.git
synced 2025-02-17 08:57:04 +00:00
Merge pull request #18 from janicduplessis/fix-rn-screens-back
Fix black screen during the pop animation when using rn-screens
This commit is contained in:
commit
071b48de56
@ -32,7 +32,9 @@ class Card extends React.Component {
|
|||||||
scene: { index, isActive },
|
scene: { index, isActive },
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
const active = position.interpolate({
|
const active = isActive
|
||||||
|
? 1
|
||||||
|
: position.interpolate({
|
||||||
inputRange: [index, index + 1 - EPS, index + 1],
|
inputRange: [index, index + 1 - EPS, index + 1],
|
||||||
outputRange: [1, 1, 0],
|
outputRange: [1, 1, 0],
|
||||||
extrapolate: 'clamp',
|
extrapolate: 'clamp',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user