Xamarin.forms: [Bug] ScrollBar is not visible from Xamarin Forms v3.5.0.129452 in Android platform

Created on 18 Sep 2019  路  7Comments  路  Source: xamarin/Xamarin.Forms

Description

I have added a list of Label's in a StackLayout and added the StackLayout in the ScrollView and performed scrolling by gesture action. Until the Xamarin Forms v3.4.0.1039999, ScrollBar gets visible while scrolling the items. But after upgrading the Xamarin Forms v3.5.0.129452 and above, ScrollBar is not visible in Android platform while scrolling.

After further analyzing the Xamarin Source, found that due to the following pull request, it gets break i.e., [Android] ScrollViewRenderer now inherits from NestedScrollView.

https://github.com/xamarin/Xamarin.Forms/pull/4522

Steps to Reproduce

  1. Run the attached sample in Android platform.
  2. Scroll the items in the view by gesture action.
  3. Note that ScrollBar is not visible when ScrollView gets scrolled.

Expected Behavior

ScrollBar need to be visible when the items are being scrolled in ScrollView.

Actual Behavior

ScrollBar is not visible in view when items are being scrolled.

Basic Information

  • Version with issue: XF v3.5.0.129452 and above.
  • Last known good version: XF v3.4.0.1039999

Screenshots

XF v3 4 0 1039999
XF v3 5 0 129452

Reproduction Link

GettingStarted.zip

regression Android iOS 馃崕 partner bug

All 7 comments

Additionally, We have already logged a bug report regarding Horizontal and Vertical scrollbar as always visible for ScrollView is not working issue in the below report.

https://github.com/xamarin/Xamarin.Forms/issues/1596

Can you please check this and revert us?

Note: I work for Syncfusion

`VerticalScrollBarVisibility="Always" doesn't seem to be working on Android _or_ iOS.

Hi Team, Can you update us on this issue?

@DineshBabuYadav if you try the latest nightly is this fixed?

I think this might be resolved by
https://github.com/xamarin/Xamarin.Forms/pull/8090

@PureWeen
I am testing the XF 4.4.0.991210-pre2 right now. Issue seems to be resolved for my case. I have a ScrollView containing a Grid. Scrollbar appears when I start scrolling. Only tested on emulator, cannot use device this week.

Might be related: Scrolling in the CollectionView still does not show a scrollbar.

Closing for now @DineshBabuYadav let me know if you want me to reopen

@PureWeen @samhouts Thanks. The issue has been fixed with https://www.nuget.org/packages/Xamarin.Forms/4.4.0.991265

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deakjahn picture deakjahn  路  3Comments

AppGrate picture AppGrate  路  3Comments

suihanhbr picture suihanhbr  路  3Comments

EmilAlipiev picture EmilAlipiev  路  3Comments

rmarinho picture rmarinho  路  3Comments