Skip to content

Weird Hit testing after scaled with Composition animation #11029

@HO-COOH

Description

@HO-COOH

Describe the bug

I found that after applying a composition animation to scale up a ui elements (eg. Button), they are no longer correctly hit-tested.

Why is this important?

It's confusing to user.

Steps to reproduce the bug

  1. In winui 3 gallery, go to Animation Interop page
  2. Hover over to the button in the first example, it will be scaled up
  3. Move the cursor and click on the bottom right corner of the button.
  4. The clicked state is very inconsistent. It will seemingly switch to normal state while you are still holding the mouse button.

Actual behavior

No response

Expected behavior

After scaled its visual, it should either participate in hit-testing according to the new size, or, participate in hit-testing with the original size.

Screenshots

Image

NuGet package version

WinUI 3 - Windows App SDK 1.8.5: 1.8.260209005

Windows version

Windows 10 (1809): Build 17763

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageIssue 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