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 15970 [details]
The default hitbox for the Slider control's ChangeListener in Android is larger than the actual control itself. Thus an event will fire whenever the hitbox is hit even if it's outside of the Slider control bounds. This is problematic as it seems to occur anywhere on a default screen instead of within the control's bounds.
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
<Button Text="Button 1" />
<Slider Minimum="0" Maximum="100" VerticalOptions="CenterAndExpand" ValueChanged="OnSliderValueChanged" />
<Button Text="Button 2" />
<Button Text="Button 3" />
1. Open attached reproduction
2. Run/deploy the application
3. Notice that there are a few buttons and a slider
4. Tap around and see that the Slider's position circle will get bigger even if tapped outside the control
Xamarin.Forms - 220.127.116.11
Created attachment 15971 [details]
Does this occur in the AppCompat backend as well?
This does seem to still occur the when extending FormsAppCompatActivity. This does not happen in a Xamarin.Android application extending Activity or AppCompatActivity.
Tested this repro project on 18.104.22.168-nightly and I can only get the slider to respond by interacting directly on it. Closing this as fixed.