xamarin/Xamarin.Forms

[Bug] iOS Adding item to the ListView while IsRefreshing causes the items to not fully show

Offen

#5.918 geöffnet am 15.04.2019

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C# (1.926 Forks)batch import
a/listviewe/5 :clock5:help wantedinactivep/iOS 🍎s/unverifiedt/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Description

I have a grid with two rows: Height="50" and Height="*"

First row contains SearchBar and "Add item" button. Second row contains ListView with bound ItemsSource and IsRefreshing to VM.

Entering text in search bar will set ListView's IsRefreshing to true, clearing text will reset it to false.

While it "IsRefreshing" and you insert item on the list and press the cancel on SearchBar first item on the list will go under the first row of the grid.

I am attaching the reproduction project.

Expected Behavior

Items showing normally on list.

Actual Behavior

Start of list under controls above it.

Basic Information

  • Version with issue: 3.6.0.293080
  • IDE: VS 2019
  • Platform Target Frameworks:
    • iOS: 12.1
  • Affected Devices: iPhone 8

Reproduction Link

ListViewBug.zip

Contributor Guide