Bug 58245 - Entry gets focus when scrolled in a ScrollView
Summary: Entry gets focus when scrolled in a ScrollView
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-07-19 13:10 UTC by bgabor
Modified: 2017-11-26 00:09 UTC (History)
4 users (show)

Tags: ac android entry scrollview focus
Is this bug a regression?: ---
Last known good build:

Repro (332.45 KB, application/x-zip-compressed)
2017-07-19 13:10 UTC, bgabor

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 for Bug 58245 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description bgabor 2017-07-19 13:10:34 UTC
Created attachment 23657 [details]

I created a horizontal scrollview, and I put some user controls insde it, which contains Entry items. When I am scrolling horizontally, one of the entries gets focused, sometimes randomly. It happens only on Android, on iOS it is working fine.

Attaching a project to test.
Comment 1 Jimmy [MSFT] 2017-07-19 15:45:10 UTC
I ran the attached project and I was able to reproduce the issue described. I believe this is different than other issues reported with Entry controls inside ListViews because this one is with a ScrollView and separate Entry instances. 

The issue is only happening on Android and does _not_ happen when the ScrollView and StackLayout are used vertically. I am confirming the report and we will investigate further.

### Version Tests   BAD
2.3.5-pre6  BAD   BAD
Comment 2 adrianknight89 2017-11-26 00:09:57 UTC
This can help you prepare a fix: 


Please make sure to test it against FastRenderers and different soft input modes (pan, resize, etc.)