xamarin/Xamarin.Forms

[Bug] CollectionView invisible items hold space and are selectable

Aberta

#8.227 aberto em 25 de out. de 2019

 (4 comentários) (1 reação) (0 responsável)C# (1.926 forks)batch import
a/collectionviewe/4 :clock4:help wantedinactivep/Androidp/UWPp/iOS 🍎t/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador