Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Commit

Permalink
fix: better interpolation for iOS modal (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
osdnk authored Oct 8, 2019
1 parent 4903d32 commit 0f715c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TransitionConfigs/CardStyleInterpolators.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ export function forModalPresentationIOS({
});

const overlayOpacity = interpolate(progress, {
inputRange: [0, 1, 2],
outputRange: [0, 0.3, 1],
inputRange: [0, 1, 1.0001, 2],
outputRange: [0, 0.3, 1, 1],
});

const scale = interpolate(progress, {
Expand Down

0 comments on commit 0f715c1

Please sign in to comment.