Skip to content
Snippets Groups Projects
Unverified Commit b8f87f70 authored by Diego Mello's avatar Diego Mello Committed by GitHub
Browse files

[FIX] Android stack animation throwing illegal node ID (#2260)

parent 09238510
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment