Fixed popup positioning anchor rect bug with drawn window decorations by kekekeks · Pull Request #21383 · AvaloniaUI/Avalonia (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

kekekeks

merged 2 commits into

May 18, 2026

Conversation

@kekekeks

Popup's anchor rect needs to be computed against the true root visual and not against toplevel that could be offset by drawn decorations

@kekekeks

MrJul

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a unit test.

@avaloniaui-bot

@kekekeks

@avaloniaui-bot

MrJul

@kekekeks kekekeks deleted the feature/wd/popup-positioning-anchor-rect-fix branch

May 18, 2026 17:00

MrJul pushed a commit to MrJul/Avalonia that referenced this pull request

May 28, 2026

@kekekeks @MrJul

…AvaloniaUI#21383)

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Labels