Open BAndysc opened 4 months ago
Unfortunately it is related to https://github.com/AvaloniaUI/Avalonia/pull/14439
PointerEventArgs
uses TransformToVisual
extension to calculate press position
but TransformToVisual
doesn't work with Adorners :( sadly, adorners are defined in another assembly (Avalonia.Controls), TransformToVisual
is in Avalonia.Base
so this method can't be easily modified to take into account adorners
I have also encountered this problem and look forward to fixing it soon
Describe the bug
When a TextBox is attached as an adorner, then text selection doesn't work correctly - it ignores the placement of the adorned element.
https://github.com/AvaloniaUI/Avalonia/assets/5689666/497fcaba-7237-412b-a211-1d5205e9c876
To Reproduce
Expected behavior
No response
Avalonia version
11.0.10, 11.1
OS
No response
Additional context
No response