Skip to content

ScrollView scrolls twice as slow as ScrollViewer #10404

@Poker-sang

Description

@Poker-sang

Describe the bug

My users complained to me about the slow scrolling of ScrollView, then I tested it and found that ScrollView scrolls twice as slow as ScrollViewer.

Here are the results of my test mouse scrolling once:

ScrollView (48px)

Image

ScrollViewer (97px)

Image

Comparing the scrolling speeds of most common software, I think ScrollViewer's is more reasonable.

Steps to reproduce the bug

<ScrollView>
    <ItemsRepeater />
</ScrollView>
<ScrollViewer>
    <ItemsRepeater />
</ScrollViewer>

You can use https://github.com/Poker-sang/JustifiedLayout to use the finished product directly

Expected behavior

I'd like to speed up ScrollView's scrolling speed.

Of course it would be better to expose the dependency property to let me control the speed myself.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.6.5: 1.6.250205002

Windows version

Windows 11 (24H2): Build 26100

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions