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