Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] TabView - TabIndicator doesn't show when flow direction is RTL #1982

Open
Tarekka opened this issue Aug 27, 2023 · 0 comments
Open

[Bug] TabView - TabIndicator doesn't show when flow direction is RTL #1982

Tarekka opened this issue Aug 27, 2023 · 0 comments
Labels
bug Something isn't working. Breaky break.

Comments

@Tarekka
Copy link

Tarekka commented Aug 27, 2023

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

  1. Create a Xamarin Forms project and set FlowDirection to RTL
  2. Add xct TabView with 2 tabs with a TabIndicatorColor (eg: Blue)
  3. 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.
  4. 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:

Workaround

Reproduction imagery

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working. Breaky break.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant