microsoft-ui-xaml
microsoft-ui-xaml copied to clipboard
Can't open text selection context menu
Describe the bug
when some text selected, and right click selected text, the app will crash and show the error information
0x767487E2 (KernelBase.dll)处(位于 DandanPlay For WinUI 3.exe 中)引发的异常: WinRT originate error - 0x80070490 : 'Element not found.'。 0x767487E2 处(位于 DandanPlay For WinUI 3.exe 中)引发的异常: Microsoft C++ 异常: winrt::hresult_error,位于内存位置 0x0057DC10 处。
Steps to reproduce the bug
- Create WinUI App
- Add TextBlock in the MainWindow.xaml and add TextBlock.IsTextSelectionEnabled="True"
- select text, and right click selected text
- App crash
Expected behavior
right click selected text can display selection context menu
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.1.3
Windows app type
- [ ] UWP
- [X] Win32
Device form factor
Desktop
Windows version
Windows Insider Build (xxxxx)
Additional context
No response