mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-01 22:42:48 +08:00
fix: evaluate position with untraversed gesture
This commit is contained in:
@@ -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
|
||||
)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user