Open SeRgI1982 opened 3 years ago
Could be caused by the same issue in https://github.com/xamarin/XamarinCommunityToolkit/issues/979#issuecomment-785892672
It is hard to tell if it is the same issue because #979 says about TabView.SelectedIndex on iOS where nothing is working and here we have Android where this property works <- a proper content of tapped TabViewItem is visible but indicator is showing something else.
IsTabTransitionEnabled="False" is a workaround for me. Although there is no transition, the indicator behaves properly.
Not sure if this is the same problem, but I have a tabview with bound tabitemssource, and it works and shows the correct indicator icon when tapping to change tab. However if you swipe to move between tabs, the indicator does not update. [Android]
Description
I would like to have a chance preselect different TabItem than the first on when navigate to page with TabView. It works on Android when you bind SelectedIndex to your ViewModel and set a proper index inside ViewModel, but indicator behaves strange when you try change to another tab.
Steps to Reproduce
Expected Behavior
TabIndicator appears in a correct place in reference to currently selected TabViewItem.
Actual Behavior
TabIndicator not always appears in correct place. Is not in-sync with currently selected TabViewItem.
Basic Information
Version with issue: 1.0.3 like also 1.1.0-pre1
IDE: VS for Mac
Platform Target Frameworks:
Sample app below:
Steps:
TabViewTest.zip