xamarin/Xamarin.Forms

[Bug] [Android] TabbedPage overrides Entry values when more than 4 Pages are added

Open

#6,259 opened on May 22, 2019

 (8 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
e/6 :clock6:help wantedp/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

When using a TabbedPage with more than 4 Sub-Pages containting Entry Controls, the Entry Texts of the first Tab get overwritten when the >= 5th Tab is selected.

Steps to Reproduce

  1. Create TabbedPage
  2. Add 6 ContentPages containing a StackLayout with e.g. 4 Entry Controls
  3. Set different Texts on all Entry Controls
  4. Start the Application and swipe / select through Tabs
  5. When reaching Tab Nr. 5 select Tab Nr. 1 on the Tabbar

Expected Behavior

All Entry Controls on Tab 1 have their inital Text value set

Actual Behavior

All Entry Controls on Tab 1 have the Text Value of the last Entry Control set

Basic Information

  • Version with issue: 3.6.0.344457

  • Last known good version:

  • IDE: Visual Studio 2019

  • Platform Target Frameworks:

    • Android: 9.0
  • Android Support Library Version: 28.0.0.1

  • Nuget Packages: Xamarin.Forms: 3.6.0.344457 Xamarin.Android.Support.Design: 28.0.0.1 Xamarin.Android.Support.v7.AppCompat: 28.0.0.1 Xamarin.Android.Support.v4: 28.0.0.1 Xamarin.Android.Support.v7.CardView: 28.0.0.1 Xamarin.Android.Support.v7.MediaRouter: 28.0.0.1 Xamarin.Android.Support.Core.Utils: 28.0.0.1 Xamarin.Android.Support.CustomTabs: 28.0.0.1 Xamarin.Essentials: 1.1.0 Xamarin.Forms.Visual.Material: 3.6.0.344457

  • Affected Devices: Samsung Galaxy A5 (2017) running Android 8.0 Samsung Galaxy Tab S4 running Android 9.0

Screenshots

TabbedPageEntryIssue

Reproduction Link

TabbedPageEntryIssue.zip

Contributor guide