xamarin/Xamarin.Forms

[iOS] Cells aren't highlighted on touch-down when the ListView's CachingStrategy is set to "RecycleElement"

Offen

#3.320 geöffnet am 17.07.2018

 (12 Kommentare) (5 Reaktionen) (0 zugewiesene Personen)C# (1.926 Forks)batch import
a/listviewe/4 :clock4:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Repository-Metriken

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

Beschreibung

Description

On iOS, cells aren't highlighted on touch-down when the ListView's CachingStrategy is set to RecycleElement. Works fine on Android and with RetainElement.

Steps to Reproduce

  1. Create a list and set the CachingStrategy to RecycleElement
  2. Press down on a cell and don't move the finger

Expected Behavior

The cell should highlight like it does when using RetainElement.

Actual Behavior

The cell is highlighted (default grey color) only on touch-up when ItemSelected event is also triggered.

Basic Information

  • Version with issue: Xamarin.Forms 3.1.0.637273
  • Last known good version: it's an older issue
  • IDE:
  • Platform Target Frameworks:
    • iOS: 11.4

Reproduction Link

TouchUpHighlight.zip

Contributor Guide