Skip to content

[WinUI] ScrollView height was increased after the application closes. #31534

@Anandh-SF4665

Description

@Anandh-SF4665

Description

When the application was closed, the ScrollView height was increasing.

Steps to Reproduce

Create a simple MAUI app with a ScrollView.
Add enough content to make the ScrollView scrollable.
Scroll to the bottom.
Close the app.

Observe that ScrollView size was changed after the app closes.

Expected Behavior:
ScrollView size should not be changed.

Actual Behavior:
The ScrollView height increases during the final layout pass.

Link to public reproduction project repository

No response

Version with bug

9.0.100 SR10

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions