xamarin/Xamarin.Forms

iOS - Scrollbar - Too far Scrollable

Open

#5,098 opened on Jan 31, 2019

 (3 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
a/layoute/2 :clock2:good first issuehelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

Steps to Reproduce

  1. Create a NavigationPage
  2. Set NavigationBar visibility to false with NavigationPage.SetHasNavigationBar(page, false)
  3. Set a Scrollbar as content of the page (the content can be empty)

Expected Behavior

The Scrollbar fills the whole page and it's not possible to scroll down because there is no content or little.

Actual Behavior

Although there is little content or no content, the page is scrollable down and if there is a Element with eg. VerticalOptions=EndAndExpand, you have to Scroll down to see it. The problem only occurs on iOS and if the Navigationbar visibility is set to false.

Basic Information

  • Version with issue: 3.4.0.1029999
  • Last known good version: N/A
  • IDE: Visual Studio Enterprise 15.9.6
  • Platform Target Frameworks:
    • iOS: 12.1
  • Affected Devices: iPhone 7

Screenshots

image image

Sample: ScrollBarApp.zip

Contributor guide