xamarin/Xamarin.Forms

[Bug] selection view for CellView Not working On iOS when using CachingStrategy="RecycleElement" or CachingStrategy="RecycleElementAndDataTemplate"

Ouverte

#7 994 ouverte le 14 oct. 2019

 (2 commentaires) (0 réaction) (0 personne assignée)C# (1 926 forks)batch import
a/customrenderera/listviewe/5 :clock5:help wantedinactivep/iOS 🍎p/tablett/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Description

When I try to customize the selection view for the view cell using ViewCellRenderer the selection works fine only when the list view CachingStrategy="RetainElement"

App1.zip

Steps to Reproduce

  1. Download the sample project and run it
  2. Make a selection to any item in the list view by tapping the cell

Expected Behavior

The selection view should be works in all list view CachingStrategy

Actual Behavior

Selection view not work when the list view CachingStrategy="RecycleElement" or CachingStrategy="RecycleElementAndDataTemplate"

Basic Information

  • Version with issue: xamarin forms 4.2.0.848062
  • Last known good version: --
  • IDE: Visual studio 2019
  • Platform Target Frameworks:
    • iOS: IOS 13
  • Affected Devices: iPad pro (12.9 inch) 3rd G with IOS 13, and iPhone 11 with IOS 13

Screenshots

image

image

Reproduction Link

Guide contributeur