XamarinCommunityToolkit
XamarinCommunityToolkit copied to clipboard
[Bug] TabView enters in an infinite loop when tapping two unselected tabs at the same time
Description
Sometimes when tapping two tabs which are not the current SelectedIndex one, the app enters in an infinite loop where the views are rapidly changing.
Steps to Reproduce
- Create an app with more than 3 TabViewItems in the TabView (I have 4)
- At the same time, tap on two unselected tabs
- Check that the TabView carousel enters in a loop mode
Expected Behavior
The TabView handles multiple tabs and change to one of the two tapped TabViewItems without entering in a loop mode.
Actual Behavior
When tapping multiple unselected tabs at the exact same time, the TabView breaks and alternates infinitely between the tapped items.
Basic Information
- Version with issue:
- Last known good version: N/A
- IDE: Visual Studio Community 2022
- Platform Target Frameworks:
- iOS: >=13
- Android: >28