xamarin/Xamarin.Forms

[Bug] CollectionView invisible items hold space and are selectable

Aperta

#8227 aperta il 25 ott 2019

 (4 commenti) (1 reazione) (0 assegnatari)C# (1926 fork)batch import
a/collectionviewe/4 :clock4:help wantedinactivep/Androidp/UWPp/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor