[FIX] Android stack animation throwing illegal node ID (#2260)
This commit is contained in:
parent
be718db8a5
commit
766dd8f5e4
|
@ -54,8 +54,7 @@ export const FadeFromCenterModal = {
|
|||
const forStackAndroid = ({
|
||||
current,
|
||||
inverted,
|
||||
layouts: { screen },
|
||||
closing
|
||||
layouts: { screen }
|
||||
}) => {
|
||||
const translateX = multiply(
|
||||
current.progress.interpolate({
|
||||
|
@ -65,13 +64,12 @@ const forStackAndroid = ({
|
|||
inverted
|
||||
);
|
||||
|
||||
const opacity = conditional(
|
||||
closing,
|
||||
current.progress,
|
||||
const opacity = multiply(
|
||||
current.progress.interpolate({
|
||||
inputRange: [0, 1],
|
||||
outputRange: [0, 1]
|
||||
})
|
||||
}),
|
||||
inverted
|
||||
);
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue