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

Commit

Permalink
fix: evaluate position with untraversed gesture
Browse files Browse the repository at this point in the history
  • Loading branch information
osdnk committed Oct 4, 2019
1 parent 7bfc347 commit 92f74df
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/views/Stack/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,13 @@ export default class Card extends React.Component<Props> {
this.offset,
cond(
this.distance,
divide(this.gesture, this.distance),
divide(
multiply(
this.gestureUntraversed,
I18nManager.isRTL ? MINUS_ONE_NODE : TRUE_NODE
),
this.distance
),
TRUE_NODE
)
),
Expand Down

0 comments on commit 92f74df

Please sign in to comment.