xamarin/Xamarin.Forms

[iOS] ListView ItemSelected fires when selecting group header row

Open

#3,587 opened on Aug 16, 2018

 (7 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
a/listviewe/5 :clock5:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

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

Contributor guide