xamarin/Xamarin.Forms

[Bug] CollectionView invisible items hold space and are selectable

Offen

#8.227 geöffnet am 25.10.2019

 (4 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C# (1.926 Forks)batch import
a/collectionviewe/4 :clock4:help wantedinactivep/Androidp/UWPp/iOS 🍎t/bug :bug:up-for-grabs

Repository-Metriken

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

Beschreibung

Description

I am using CollectionView to create Accordion. The CollectionView needs to show Grouped items when user clicks on the header and again hides it with another click. But the issue is that the hidden items stills hold their space and are selectable. In the screenshot below the Group1 items are holding as much space as Group2 and the second item is selected in Group1 although it's items are Invisible.

Basic Information

  • Version with issue:Xamarin.Forms-4.3.0.908675
  • IDE:VSMac
  • Affected Devices:iOS and Android

Screenshots

CollectionView

Reproduction Link

ShellRepro.zip

Contributor Guide