-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ScrollView inside Border does not render offscreen content after scroll. iOS only. #14091
Copy link
Copy link
Labels
area-controls-borderBorderBorderarea-controls-scrollviewScrollViewScrollViewfixed-in-8.0.0-preview.3.8149Look for this fix in 8.0.0-preview.3.8149!Look for this fix in 8.0.0-preview.3.8149!platform/iost/bugSomething isn't workingSomething isn't working
Milestone
Description
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.

Steps to Reproduce
- Create a File->New MAUI app.
- In MainPage.xaml
- Wrap the ScrollView in a Border
- Add enough content (e.g. Labels) to the end of the VerticalStackLayout
- 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-borderBorderBorderarea-controls-scrollviewScrollViewScrollViewfixed-in-8.0.0-preview.3.8149Look for this fix in 8.0.0-preview.3.8149!Look for this fix in 8.0.0-preview.3.8149!platform/iost/bugSomething isn't workingSomething isn't working