Open ghuynguyen opened 2 years ago
i have same issue, any updates on this ?
Update: This bug only appears on Android. Works fine on iOS
Workaround
In my case, using the MVVM pattern, when the TAB index changes (TabView.SelectedIndex
), it is sufficient to update the ItemSource of the ListView by calling OnPropertyChanged(nameof(ListItemSource))
, for example, when the ListView is specified as: ItemSource="{Binding ListItemSource}"
.
This allows fixing the bug depicted in the video issue for android too.
Description
When using ListView in TabViewItem, after change tab, it's hard to select ListView's items
Link to Reproduction Sample
https://github.com/ghuynguyen/tabview_bug
Steps to Reproduce
Expected Behavior
Item selected by 1 tap
Actual Behavior
Item selected by multi tap
Basic Information
Workaround
Refresh the list at TAB 1 when switch to TAB 2 and vice versa.
Reproduction imagery