Skip to content

Conversation

anastely
Copy link
Contributor

@anastely anastely commented Sep 2, 2020

Overview

I have a Fully RTL App when I press to next segment the Animation It goes the other way around

Test Plan

I import I18nManager then defined a variable to check if the app RTL or not and based on it, I change segmentWidth to negative if true, else i return segmentWidth

Before
Screen-Recording-2020-09-02-at-5

After

Screen-Recording-2020-09-02-at-6

Copy link
Member

@Naturalclar Naturalclar left a comment

Choose a reason for hiding this comment

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

@anastely thank you!

@Naturalclar Naturalclar merged commit 68652d8 into react-native-segmented-control:master Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants