xamarin/Xamarin.Forms

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

Offen

#8.243 geöffnet am 25.10.2019

 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C# (1.926 Forks)batch import
a/listviewe/3 :clock3:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide