Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Inertia] Interaction doesn't respect system scroll inertia #10830

Copy link
Copy link
@citelao

Description

@citelao
Issue body actions

Describe the bug

Today, many UI surfaces behave poorly when scrolling on trackpads due to lingering inertia. For example, scrolling a webpage to find some text, then pressing Ctrl in preparation to copy with Ctrl+C causes pages to zoom wildly.

It's not well-documented, but we fixed that: in recent builds of Windows (later than Sept 2024's Beta KB5043166), pressing any key cancels inertia (internal link).

However, XAML surfaces do not seem to respect this, leading to runaway zoom bugs like Terminal 5708.

Why is this important?

Runaway zoom is a very frustrating behavior. It is extremely disorienting, confusing, and slow to resolve.

Apps like Terminal have implemented mitigations to prevent this behavior.

Competitors like macOS do not have this issue because most shortcuts begin with Cmd, so copying does not impact apps that implement Ctrl+scroll.

Steps to reproduce the bug

On a recent build of Windows (newer than 2024), in WinUI Gallery, on a laptop:

  1. Open the ScrollView page.
  2. Begin scrolling (with inertia)
  3. Press Ctrl.

Actual behavior

Scrolling does not stop.

Expected behavior

Scrolling should stop.

Windows version

Any recent build (later than Sept 2024's Beta KB5043166) with work item 51449382 (internal link)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't workingneeds-triageIssue needs to be triaged by the area ownersIssue needs to be triaged by the area owners

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.