torgeadelin/react-native-animated-nav-tab-bar

Tab Animation RTL Support

KAMR4N opened this issue · 4 comments

I'm using "I18nManager" to adding and force RTL (Right To Left) support for Persian language, but the View of the Animation or Active Tab is not support for RTL.

Example:
example-Tab-bar

I'm facing the same issue. could anyone give help with that?

Will try to fix this as soon as possible.

change style in index.js line 459 to :

reactNative.I18nManager.isRTL ? {
                                right: animatedPos.interpolate({
                                    inputRange: [0, 1],
                                    outputRange: [prevPos, pos],
                                })
                                } : {
                                left: animatedPos.interpolate({
                                    inputRange: [0, 1],
                                    outputRange: [prevPos, pos],
                                })
                            }

fixed, please update to 3.1.3