XamarinCommunityToolkit icon indicating copy to clipboard operation
XamarinCommunityToolkit copied to clipboard

[Bug] TabView enters in an infinite loop when tapping two unselected tabs at the same time

Open dvPineda opened this issue 3 years ago • 0 comments

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

  1. Create an app with more than 3 TabViewItems in the TabView (I have 4)
  2. At the same time, tap on two unselected tabs
  3. 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

dvPineda avatar Oct 05 '22 14:10 dvPineda