Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 15624 [details]
After updating to 18.104.22.168 pre 1, ListView no longer changes the "SelectedItem" and doesn't trigger "ItemTapped" if the ViewCell in the data template uses a BoxView.
Run the attached sample on Android (I used XAP with the S5 on Lollipop) and tap the white area in the ListView. The selected item property won't change and the tap handler won't be called.
Downgrade to Forms 2.1 and it's working.
=== Xamarin Studio ===
Version 6.0 (build 4801)
Installation UUID: 7a127b8e-364a-4453-8b18-e87f614b7d80
Mono 4.4.0 (mono-4.4.0-branch/f8474c4) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 404000040
=== Xamarin.Profiler ===
=== Apple Developer Tools ===
Xcode 7.3 (10183.3)
=== Xamarin.iOS ===
Version: 22.214.171.124 (Business Edition)
Build date: 2016-03-25 02:13:42-0400
=== Xamarin.Android ===
Version: 126.96.36.199 (Business Edition)
Android SDK: /Users/rene/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.4 (API level 19)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 23.0.3
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
Android Designer EPL code available here:
=== Xamarin Android Player ===
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 188.8.131.52 (Business Edition)
=== Xamarin Inspector ===
Build date: Thu Mar 31 18:37:26 UTC 2016
=== Build Information ===
Release ID: 600004801
Git revision: f73f730c738baf8701a5892b7af64fd468d1dc0c
Build date: 2016-03-14 14:28:06-04
Xamarin addins: 3af7be6c701eb0137645a03e38b82f23b65738c3
Build lane: monodevelop-lion-cycle7
=== Operating System ===
Mac OS X 10.11.4
Darwin iMacRR.fritz.box 15.4.0 Darwin Kernel Version 15.4.0
Fri Feb 26 22:08:05 PST 2016
=== Enabled user installed addins ===
Xamarin Inspector 0.7.0.0
Update: I can work around this by setting "InputTransparent = true;" in the BoxView subclass.
If I interpret the documentation correctly, FALSE is the default value for InputTransparent and that means it would capture taps and not pass it on to the ListView. However, it behaves differently in previous versions of Forms.
This is fixed in 2.2.0-pre2. Was an oversight caused by a fix in a different area. Ultimately we would like BoxView to become blocking long term, with a default value of InputTransparent = true, but 2.2.0 is not the time for that change. It is now consistent between iOS/Android however.
Should be fixed in 2.2-pre2
I have checked this issue with Xamarin.Forms 2.2.0-pre4 and its working fine.
Hence closing this issue.