ScrollView with Fill vertical option is bigger than the page when ScrollView is a root on iOS #18975
Labels
area-controls-scrollview
ScrollView
platform/iOS 🍎
potential-regression
This issue described a possible regression on a currently supported version., verification pending
s/needs-repro
Attach a solution or code which reproduces the issue
t/bug
Something isn't working
Description
When ScrollView (or ScrollView inside RefreshView) is a root of Content page, it doesn't handle Height correctly. When you set VerticalOptions to Fill (when inside RefreshView it's always Fill) it takes more space than the page size. When you set Start option it makes ScrollView even smaller than its content.
VerticalOptions="Fill" (content of scrollView starts at the title, it's not a padding)
VerticalOptions="Start"
Grid is the root of page, everything works fine
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
You can make Grid the root of the page and put ScrollView inside, then it will have correct size
Relevant log output
No response
The text was updated successfully, but these errors were encountered: