Xamarin.Forms Vertical ScrollView won't scroll over UI elements if nested horizontal ScrollView is expanded

Massimoni 1 Reputation point
2021-03-05T12:36:16.567+00:00

I am currently developing an app which displays lots of information on individual pages therefore I need to use vertical ScrollViews. To display text without being cut off I am embedding labels in horizontal ScrollViews which are then nested inside the vertical ScrollView. This works fine at first however I run into a problem, if any of the horizontal ScrollViews are scrolled to the right/expanded or even if the text is too short to actually enable the usage of the ScrollView but it is still invisibly scrolled while there is another active horizontal ScrollView on the page. When this is the case I cannot use the vertical ScrollView if the user tries to scroll over any UI elements (Buttons, Entries, etc.) until all horizontal nested ScrollViews are scrolled all the way to the left, then the user can scroll anywhere.

My problem is actually identical to the bug report which can be seen here: https://github.com/xamarin/Xamarin.Forms/issues/8879 (open bug report for 1 1/3 years but includes gifs which show the problem very clearly)

In the discussion, bruhaha1989 posted his workaround by using a custom ScrollView renderer, however implementing this renderer in my project doesn't seem to change anything.
Therefore I wanted to ask if anybody has a solution to this problem as I assume we won't see a fix for this anytime soon.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} votes