AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
26.06k stars 2.25k forks source link

AutoCompleteBox don't lose text selection when contextmenu opens #17462

Closed punker76 closed 2 weeks ago

punker76 commented 2 weeks ago

What does the pull request do?

When implementing copy and paste context menu items for AutoCompleteBox it's not possible because text selection gets lost.

This issue was solved also for TextBox in #4498

What is the current behavior?

Selection is gone.

What is the updated/expected behavior with this PR?

Selection should be the same.

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

Fixes #17453

avaloniaui-bot commented 2 weeks ago

You can test this PR using the following package version. 11.3.999-cibuild0053177-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

cla-avalonia commented 2 weeks ago
punker76 commented 2 weeks ago

@cla-avalonia agree

avaloniaui-bot commented 2 weeks ago

You can test this PR using the following package version. 11.3.999-cibuild0053187-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]