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

Commit eb8f923

Browse files
committed
fix: vertical gesture
1 parent cd3dec2 commit eb8f923

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

src/views/Stack/Card.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -487,11 +487,14 @@ export default class Card extends React.Component<Props> {
487487
);
488488

489489
private exec = [
490-
set(
491-
this.gesture,
492-
multiply(
493-
this.gestureUntraversed,
494-
I18nManager.isRTL ? MINUS_ONE_NODE : TRUE_NODE
490+
cond(
491+
eq(this.direction, DIRECTION_HORIZONTAL),
492+
set(
493+
this.gesture,
494+
multiply(
495+
this.gestureUntraversed,
496+
I18nManager.isRTL ? MINUS_ONE_NODE : TRUE_NODE
497+
)
495498
)
496499
),
497500
set(

0 commit comments

Comments
 (0)