After upgrade to XF 4.4.0.991265 on Android
Vertical Scroll Bars appear on Button inside ScrollView with custom Style (font)
Buttons without vertical scroll bar inside
Vertical Scroll Bars appear on Buttons (short time)


If add empty ButtonRenderer -> Issue will fixed
public class FixButtonIssueRenderer : ButtonRenderer
{
public FixButtonIssueRenderer(Context context) : base(context)
{
}
}
Seems to have happened between 4.3.0 and 4.4.0-pre1.
This bug was introduced with changes for issue #8090.
Temporary workaround:
ScrollView with empty CustomScrollView:public class CustomScrollView : ScrollView
{
}
CustomScrollViewRenderer for Android:[assembly: ExportRenderer(typeof(CustomScrollView), typeof(CustomScrollViewRenderer))]
...
public class CustomScrollViewRenderer : ScrollViewRenderer
{
}
It uses Forms.Context instead of ContextThemeWrapper(context, Resource.Style.NestedScrollBarStyle).
I'm using a padding of -10 to work around that problem.
<Style x:Key="PrimaryButtonStyle" TargetType="Button">
<Setter Property="Padding" Value="-10" />
</Style>
I was using some padding on Android already to deal with the fact that the text gets clipped when the size of the button is smaller then what is need to draw the text (Only on Android)
This bug was introduced with changes for issue #8090.
Temporary workaround
it helped, but not everywhere (but it's better than nothing). Used through the effects of disabling scrolling for labels
Did the ScrollBars disappear completely? I got a FlexLayout inside a ScrollView with Xamarin.Forms 4.6 and ScrollBars are not showing up. Before updating I had Xamarin.Forms 4.4 the ScrollBars are there.
Most helpful comment
This bug was introduced with changes for issue #8090.
Temporary workaround:
ScrollViewwith emptyCustomScrollView:CustomScrollViewRendererfor Android:It uses
Forms.Contextinstead ofContextThemeWrapper(context, Resource.Style.NestedScrollBarStyle).