Xamarin Scrollview 滚动条不可见

Xamarin Scrollview scrollbar not visible

Xamarin.Forms Android。我有里面有堆栈的 scrollView。滚动有效,但滚动条不可见。我曾尝试编写自定义渲染,但没有帮助。 我的代码:https://github.com/FeduniakVitalii/ScrollView

var contentAndWebViewLayout = new StackLayout() { Orientation = StackOrientation.Vertical, VerticalOptions = LayoutOptions.FillAndExpand};
            contentAndWebViewLayout.Children.Add(contentLayout);
            contentAndWebViewLayout.Children.Add(webView);

            ScrollView scrollView = new ScrollView()
            {
                Content = contentAndWebViewLayout,
                IsEnabled = true,
                IsVerticalScrollbarEnabled = true,
                IsClippedToBounds = true,
                VerticalScrollBarVisibility = ScrollBarVisibility.Always,
                VerticalOptions = LayoutOptions.FillAndExpand,
            };

            var converter = new HtmlLabelConverter();

            var layout = new RelativeLayout()
            {
                BackgroundColor = Color.White,
                VerticalOptions = LayoutOptions.FillAndExpand
            };

            layout.Children.Add(scrollView,
            xConstraint: Constraint.Constant(0),
                    yConstraint: Constraint.Constant(0),
                    widthConstraint: Constraint.RelativeToParent((parent) => { return parent.Width; }),
                    heightConstraint: Constraint.RelativeToParent((parent) => { return parent.Height; }));

            this.Content = layout;

我尝试将 Xamarin.Forms 版本降级到 3.4,问题已解决!