xamarin/Xamarin.Forms

[iOS] ListView ItemSelected fires when selecting group header row

Aperta

#3587 aperta il 16 ago 2018

 (7 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/listviewe/5 :clock5:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

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

Descrizione

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

Guida contributor