Bug 34343 - ScrollView doesn't work correctly on Android
Summary: ScrollView doesn't work correctly on Android
Status: RESOLVED NORESPONSE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.5.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-09-28 11:20 UTC by Marco
Modified: 2016-04-13 18:31 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

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 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.

Related Links:
Status:
RESOLVED NORESPONSE

Description Marco 2015-09-28 11:20:39 UTC
When i scroll the scrollview, on Android the content is visible beyond the limits of the scrollview, on iOS it works correctly!

I have this layout:

RelativeLayout
-- Image
-- ScrollView
---- Grid

So when I scroll my scrollview, this goes under the image.

I'm sure that on the 1.4 version, the scrollview worked correctly.

on iOS all is perfect!
Comment 1 Paul DiPietro [MSFT] 2015-09-28 11:49:36 UTC
If you could kindly provide a reproduction project, it would help us in investigating the issue.
Comment 2 Marco 2015-09-29 05:33:57 UTC
I tried to create a test project but I was not able to reproduce the bug.

Anyway looking at this page: https://forums.xamarin.com/discussion/21930/scrollview-still-overlapping-its-bounds-on-android-when-contents-are-added-to-visual-tree

I found the solution...

just need to set IsClippedToBounds = true to the scrollview!


I'm sure there is a bug somewhere, please correct it!
Comment 3 Paul DiPietro [MSFT] 2015-09-30 14:17:59 UTC
While there may certainly be a bug, I am setting this to NEEDINFO for the time being until specific reproduction steps are provided, which will allow proper investigation of the issue.
Comment 4 Samantha Houts [MSFT] 2016-04-13 18:31:03 UTC
Thank you for your bug report. As we have not received the information requested, we cannot properly triage your bug and are marking it resolved.

Warm regards,
Xamarin Forms Team