[Bug] TabView - TabIndicator doesn't show when flow direction is RTL
Tarekka opened this issue · comments
Tarek commented
Description
TabView - TabViewIndicator goes off the screen when flow direction is RTL. This is caused by the UpdateTabIndicatorPosition method not taking RTL into consideration when calculating the position to translate the indicator to.
Steps to Reproduce
- Create a Xamarin Forms project and set FlowDirection to RTL
- Add xct TabView with 2 tabs with a TabIndicatorColor (eg: Blue)
- Open the app, at first you notice the TabIndicator animating off the screen, and no matter how you switch tabs you won't see it under any of the tabs.
- Set to LTR, everything works as expected
Expected Behavior
When FlowDirection is set to RTL, the TabIndicator doesn't go off screen
Actual Behavior
When FlowDirection is set to RTL, the TabIndicator goes off screen
Basic Information
- Version with issue:
- Last known good version:
- IDE:
- Platform Target Frameworks:
- iOS: 16
- Android: 13
- UWP:
- Android Support Library Version:
- Nuget Packages:
- Affected Devices: