react-native-material-tabs icon indicating copy to clipboard operation
react-native-material-tabs copied to clipboard

Unexpected behavior of tab when Language is Hebrew language (RTL) (iOS)

Open dhavalshah60 opened this issue 4 years ago • 1 comments

Hello,

I am using the Material tab for my project and here I found unexpected behavior of a tab when I select on any of the tabs also when screen load it will scroll to the last index of a tab when scrollable property is true It automatically the last index. here is a video of it so you could get a proper idea about it. kindly revert me, please.

here is the code that I have used.

<MaterialTabs items={this.state.dashboard.map(item => Strings.t(item.id))} selectedIndex={this.state.selectedTab} uppercase={false} barColor={Colors.brand_white} barHeight={46} scrollable={true} activeTextColor={Colors.text_dark} indicatorColor={Colors.brand_main} inactiveTextColor={Colors.text_light} textStyle={styles.tabText} onChange={this.onChangeTab} />

For your information, this code looks great when changing LTR language (iOS).

Screen Recording 2020-03-11 at 3.50.51 PM.mov.zip

dhavalshah60 avatar Mar 11 '20 10:03 dhavalshah60

Hi there. can I get any update regarding my issue?

dhavalshah60 avatar Mar 12 '20 08:03 dhavalshah60