Skip to content

ScrollView inside Border does not render offscreen content after scroll. iOS only. #14091

@Keflon

Description

@Keflon

Description

A ScrollView inside a Border does not render content that is scrolled into view.
The content takes up space, so is measured, it just doesn't render.
iOS screenshot.
image

Steps to Reproduce

  1. Create a File->New MAUI app.
  2. In MainPage.xaml
    1. Wrap the ScrollView in a Border
    2. Add enough content (e.g. Labels) to the end of the VerticalStackLayout
  3. Build and run the app for iOS.

Expected behaviour

Scrolling content into view ought to render the content.

Actual behaviour

Content that is scrolled into view is not rendered on the iOS platform.

Link to public reproduction project repository

https://github.com/Keflon/MauiScrollViewBug

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

Simulator 16.2; iPhone X 16.3.1. Probably others.

Did you find any workaround?

Do not wrap a ScrollView in a Border if targeting iOS.

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions