A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Hello,
Yes, I can reproduce this issue. Please add following EditorHandler in your application, when SelectionChanged, update the Editor's background.
#if WINDOWS
Microsoft.Maui.Handlers.EditorHandler.Mapper.AppendToMapping("SelectionChanged", (handler, view) =>
{
handler.PlatformView.SelectionChanged +=
new Microsoft.UI.Xaml.RoutedEventHandler((object sender, Microsoft.UI.Xaml.RoutedEventArgs e) =>
{
handler.PlatformView.UpdateBackground(view);
});
});
#endif
This issue was fixed in the .NET 9 SR4
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.