Skip to content

Can't click button with draggable image as content #10872

@eduardobragaxz

Description

@eduardobragaxz

Describe the bug

When setting a button with an image as content, the button will only be clickable where the image doesn't go, like the edges of the button.

Why is this important?

It's a common scenario to have a clickable image.

Steps to reproduce the bug

Link to the repro

Actual behavior

Doesn't click if you click the image.

Expected behavior

Can't click.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.8.2: 1.8.251003001

Windows version

Windows 11 (24H2): Build 26100

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions