Bug 46632 - [UWP] Clicking button in listview viewcell triggers both button clicked and cell ItemTapped
Summary: [UWP] Clicking button in listview viewcell triggers both button clicked and c...
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows (show other bugs)
Version: 2.3.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-11-09 11:56 UTC by rjcollingham
Modified: 2017-12-06 15:17 UTC (History)
9 users (show)

See Also:
Tags: ac, listview, uwp, gestures fr
Is this bug a regression?: ---
Last known good build:

ListPage.cs - add to shared project (1.78 KB, text/plain)
2016-11-09 11:56 UTC, rjcollingham

Description rjcollingham 2016-11-09 11:56:38 UTC
Created attachment 18393 [details]
ListPage.cs - add to shared project

Similar to #22854. Tested with the latest stable version of Forms

Steps to reproduce

1) Create a new Xamarin Forms blank project shared
2) Add ListPage.cs to shared project (see attached)
3) in App.cs change to be 

             MainPage = new ListPage();

4) Run on Android - works perfectly
5) Add breakpoints to the ItemTapped and Button_Clicked events
6) Run on UWP - both events are fired when you click the button

Comment 1 dpedrinha 2016-11-16 00:32:01 UTC
Same problem on PCL project.
Comment 2 Pascal Empl 2016-11-16 07:23:18 UTC
Works on iOS too
Comment 3 hicham.boushaba 2017-01-02 21:55:33 UTC
I'm having the same issue, my workaround is attaching a TapGestureRecognizer to the button, this prevents the event bubbling.
Comment 4 David Ortinau [MSFT] 2017-06-19 22:16:32 UTC
Moving this issue back to confirmed to be addressed.
Comment 5 Samantha Houts [MSFT] 2017-09-26 18:04:35 UTC
Comment 6 Samantha Houts [MSFT] 2017-10-20 18:25:03 UTC
Should be fixed in 2.5.0-pre2. Thank you!

Comment 7 Pascal Empl 2017-12-06 15:17:50 UTC
Still have the same problem with version

Note You need to log in before you can comment on or make changes to this bug.