xamarin/Xamarin.Forms

[iOS] ListView ItemSelected fires when selecting group header row

Aberta

#3.587 aberto em 16 de ago. de 2018

 (7 comentários) (0 reação) (0 responsável)C# (1.926 forks)batch import
a/listviewe/5 :clock5:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Description

https://www.screencast.com/t/jj1GyFynx

When selecting the group header, the first row in the group is selected. This is not the expected behavior and does not occur on the first group section.

This does not happen on Android.

Steps to Reproduce

  1. Select the group header of the first section and notice the ItemSelected event does not fire.
  2. Select a row and notice it does.
  3. Select the second section group header and notice it fires.

Expected Behavior

Selecting group headers should not fire ItemSelected for the first row in the group

Actual Behavior

ItemSelect fires and first row of group is selected.

Basic Information

  • Version with issue: 3.1.0, 3.2-pre2
  • IDE:
  • Platform Target Frameworks:
    • iOS: 12.0, deployed to 12 and 11.4

Reproduction Link

Archive.zip

Guia do colaborador