The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms. It simplifies and demonstrates common developer tasks building iOS, Android, and UWP apps with Xamarin.Forms.
MIT License
1.59k
stars
472
forks
source link
[Bug] TabView - TabIndicator doesn't show when flow direction is RTL #1982
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
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
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
Workaround
Reproduction imagery