jb3rndt / PersistentBottomNavBarV2

A highly customizable persistent bottom navigation bar for Flutter
https://pub.dev/packages/persistent_bottom_nav_bar_v2
BSD 3-Clause "New" or "Revised" License
49 stars 54 forks source link

Navigation bar animation does not adhere to locale: left to right and right to left (e.g. Arabic and English). #114

Closed Abdullah-RashedMW closed 6 months ago

Abdullah-RashedMW commented 11 months ago

Navigation bar animation does not adhere to locale: left to right and right to left (e.g. Arabic and English). When using Easy Localization package, and switching from LTR and RTL from the package it does not apply to the bottom navigation bar tab switching animations.

STEPS: set up easy localization set up navigation bar change tabs with English locale (correct behavior) change language to arabic switch tabs (the animation is still LTR when it should be RTL).

abdou-tech-maker commented 11 months ago

i have the same probleme i hope they will solve it since the package is good

jb3rndt commented 10 months ago

~~Hi, which animation exactly do you expect to change? The sliding of the pages when switching tabs? So from what I understand: When switching from Tab 1 to Tab 2 the pages slide to the left in LTR mode. In RTL mode they should slide to the right, correct? Same when switching from Tab 2 to Tab 1: The pages slide to the right in LTR mode. In RTL mode they should slide to the left, correct? Additionally, do you expect Tab 1 to be on the right side of the nav bar? Feel free to open a pull request if you have a solution.~~

Update: It took a bit but I now understand the issue by trying it out. Im figuring out a solution

jb3rndt commented 6 months ago

Solved since version 5.0.0-beta.7