xamarin/Xamarin.Forms

iOS - Scrollbar - Too far Scrollable

Aperta

#5098 aperta il 31 gen 2019

 (3 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/layoute/2 :clock2:good first issuehelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor