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

Commit

Permalink
fix: vertical gesture in stack
Browse files Browse the repository at this point in the history
  • Loading branch information
osdnk committed Sep 23, 2019
1 parent 06cc8b9 commit 4ee19bc
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/stack/src/views/Stack/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -476,11 +476,14 @@ export default class Card extends React.Component<Props> {
);

private exec = [
set(
this.gesture,
multiply(
this.gestureUntraversed,
I18nManager.isRTL ? MINUS_ONE_NODE : TRUE_NODE
cond(
eq(this.direction, DIRECTION_HORIZONTAL),
set(
this.gesture,
multiply(
this.gestureUntraversed,
I18nManager.isRTL ? MINUS_ONE_NODE : TRUE_NODE
)
)
),
set(
Expand Down

0 comments on commit 4ee19bc

Please sign in to comment.