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

Fix #247 - reverse horizontal swipe direction in RTL#301

Open
hery wants to merge 1 commit into
dancormier:masterfrom
hery:master
Open

Fix #247 - reverse horizontal swipe direction in RTL#301
hery wants to merge 1 commit into
dancormier:masterfrom
hery:master

Conversation

@hery

@hery hery commented Oct 9, 2018

Copy link
Copy Markdown

No description provided.

@hery hery mentioned this pull request Oct 9, 2018

@moonios5 moonios5 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, we need to change line no. 408
from
"transform: [{ translateX: this._rubberBandEasing(posX, limit) }]"
to
"transform: [{ translateX:(_reactNative.I18nManager.isRTL? -1:1)*this._rubberBandEasing(posX, limit) }]"

@AkshayP8140 AkshayP8140 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, we need to change line no. 408
from
"transform: [{ translateX: this._rubberBandEasing(posX, limit) }]"
to
"transform: [{ translateX:(_reactNative.I18nManager.isRTL? -1:1)*this._rubberBandEasing(posX, limit) }]"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants