xamarin/Xamarin.Forms

[Bug] CollectionView invisible items hold space and are selectable

Ouverte

#8 227 ouverte le 25 oct. 2019

 (4 commentaires) (1 réaction) (0 personne assignée)C# (1 926 forks)batch import
a/collectionviewe/4 :clock4:help wantedinactivep/Androidp/UWPp/iOS 🍎t/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

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

Guide contributeur