xamarin/Xamarin.Forms

[iOS] ListView ItemSelected fires when selecting group header row

开放

#3,587 创建于 2018年8月16日

 (7 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/listviewe/5 :clock5:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南