Skip to content

[Bug] Tooltip will capture mouse over a button if it has to be placed above mouse position #545

@CyLuGh

Description

@CyLuGh

Check the following items

  • I have looked up relevant Issue

Description of the issue

If a button has a tooltip and the tooltip has to be shown above above the mouse position (because we're at the bottom of the screen), the tooltip will capture the mouse and its click, which makes the button appear not working. If you move the mouse slightly away from the tool tip, it will work again.

I've captured both behaviors to illustrate this:

Tooltip is appearing above the mouse position, you can see the button appearance changes as it loses the hovered state
Image

Tooltip is appearing below, no problem there
Image

I guess the tooltip should have IsHitTestVisible set to false?

Package Version

6.0.3

Environment

Windows 11

Expected Behavior

Tooltip shouldn't prevent mouse click from working.

Reproduction

Happens with any button that has ToolTip.Tip set and is at the bottom of the screen.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions