xamarin/Xamarin.Forms

[UWP] TapGestureRecognizer No Longer Blocks List View Item Tapped Event

オープン

#1,406 opened on 2017/12/14

 (14 件のコメント) (2 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/gestures 🖖a/listviewe/6 :clock6:help wantedp/UWPt/bug :bug:up-for-grabs

Repository metrics

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

説明

Description

TapGestureRecognizers inside the view cell of a list view no longer block the item tapped/item selected event of a list view.

Steps to Reproduce

  1. Create a list view with item tapped and or item selected events.
  2. Have a control with a tap gesture recognizer inside the view cell.
  3. Tap gesture recognizer doesn't block item tapped / item selected events.

Expected Behavior

The TapGestureRecognizer should block the item tapped / item selected event from firing. This use to be the behavior.

Actual Behavior

Both the TapGestureRecognizer and the item tapped / item selected events fire.

Basic Information

  • Version with issue: 2.5.0.121934
  • Last known good version: 2.3.4.270
  • IDE: VS 2017 15.5.1
  • Platform Target Frameworks:
    • UWP: 15063
  • Nuget Packages: Xamarin Forms
  • Affected Devices: UWP

Reproduction Link

Here is a reproduction solution https://drive.google.com/file/d/1iud-OgALmeTw1Jf1q6xKMGG00v2xsNhF/view?usp=sharing

https://bugzilla.xamarin.com/show_bug.cgi?id=32842

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