xamarin/Xamarin.Forms

[Bug] [iOS] TableView cells Tapped event doesn't work if cell contains ContextActions

オープン

#8,243 opened on 2019/10/25

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/listviewe/3 :clock3:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description

If I create a TableView and put a TextCell inside with a Tapped event handler. The Tapped event handler works fine. If I add a ContextAction to that cell, the Tapped event handler is NOT called. However, if you tap exactly on the divider in between the cells, the Tapped event handler IS called. Therefore, I think the ContextAction is adding some invisible View on top of the entire cell that is blocking user input.

Steps to Reproduce

Run the attached sample program and tap the cell and verify no "Tapped" event is written to the Console.

Expected Behavior

Tapped event handler works regardless of presence of ContextActions

Actual Behavior

Tapped event handler doesn't work.

Basic Information

3.6:

  • Version with issue: 3.6.0.709228
  • Last known good version: 3.6.0.539721 4.0:
  • Version with issue: 4.0.0.709238
  • Last known good version: 4.0.0.618610 4.1:
  • Version with issue: 4.1.0.709244
  • Last known good version: 4.1.0.673156 4.2:
  • Version with issue: all 4.2.0.XXX
  • Last known good version: none 4.3:
  • Version with issue: all 4.3.0.XXX
  • Last known good version: none

Reproduction Link

TestForms.zip

コントリビューターガイド