[iOS] Fix extra bottom space in ScrollView when using SafeAreaEdges#30976
[iOS] Fix extra bottom space in ScrollView when using SafeAreaEdges#30976PureWeen merged 2 commits intodotnet:net10.0from
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a race condition in iOS ScrollView that caused extra bottom spacing when using SafeAreaEdges. The issue occurred when KeyboardAutoManagerScroll executed before SafeAreaEdges.SoftInput layout adjustments, leading to incorrect padding calculations.
- Applies a consistent 30ms delay to all input controls in KeyboardAutoManagerScroll
- Ensures proper timing coordination between keyboard auto-scroll and safe area adjustments
- Prevents conflicts that previously caused double padding or incorrect positioning
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
PureWeen
left a comment
There was a problem hiding this comment.
GridStarRowScrollingTest is failing
Can you check if the test just needs to be fixed?
@PureWeen, this test seems to be failing due to a timing issue. Locally, the Entry sometimes fails to scroll into the correct position when tapped. Slightly increasing the existing delay before requesting the layout to scroll again, after the initial scroll, seems to resolve the issue. Could you please share your thoughts on this?
|
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
|
/backport to release/10.0.1xx-preview7 |
|
Started backporting to release/10.0.1xx-preview7: https://github.com/dotnet/maui/actions/runs/16751639340 |

Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Root Cause of the Issue:
Description of Change
Screenshot
Before-Fix.mov
After-Fix.mov