[RichEditBox] Cannot delete selected text
See original GitHub issueDescribe the bug TextCommandBarFlyout “blocks” deletion of selected text in RichEditBox
Steps to reproduce the bug
- Open Xaml Control Gallery and open
RichEditBox
page (xamlcontrolsgallery://item/RichEditBox) - Enter text in the
RichEditBox
- Select text and see how the TextCommandBarFlyout open automatically
- Press “del” or “backspace” button on keyboard
Expected behavior Selected text disappears
Actual behavior Nothing happens.
Comments
- After dismissing the TextCommandBarFlyout (e.g. by mouse movement), you CAN delete the text using the “del” or “backspace” keys
- The bug does not occur when using
ControlsResourcesVersion="Version1"
even though a (different!) TextCommandBarFlyout is shown there as well
Screenshots
Version Info Microsoft.UI.Xaml 2.6.0]
Windows app type:
UWP | Win32 |
---|---|
Yes |
Windows version | Saw the problem? |
---|---|
Insider Build (xxxxx) | |
May 2021 Update (19043) | Yes |
October 2020 Update (19042) | |
May 2020 Update (19041) | |
November 2019 Update (18363) | |
May 2019 Update (18362) | |
October 2018 Update (17763) | |
April 2018 Update (17134) | |
Fall Creators Update (16299) | |
Creators Update (15063) |
Device form factor | Saw the problem? |
---|---|
Desktop | Yes |
Xbox | |
Surface Hub | |
IoT |
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (9 by maintainers)
Top Results From Across the Web
After adding text can't remove with backspace
The reason you can't delete it is because as soon as you press Backspace , your text ends with '(' again, and you...
Read more >how can i delete selected text from a richtextbox?
Text = "Your Text"; // To clear and replace selected text. This is my first reply. I'm starting to learn WPF in place...
Read more >When I try to delete selected text by using BACKSPACE in ...
When I try to delete selected text by using BACKSPACE in Microsoft Word, it doesn't work. From the File tab select the Options...
Read more >My delete key will not delete selected text
It no longer deletes selected text--only functions properly as backspaced and one at a time character delete. How can I fix that?
Read more >Cannot Autocomplete again After deleting text ...
I have this problem with my Autocompletion program in VB.NET where you cannot delete text eazily after Autocompletion is done because once ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m sorry if my posts came over as criticism towards the WinUI team, that was not intended. I am disappointed by Microsoft for not increasing resources and priority for WinUI. It feels like very slow progress was made in the last few months.
From what I can tell, this issue has been finally fixed by this PR. Thank you so much @llongley! This bug was so annoying and I am so glad I found this to be fixed in the preview version on NuGet. I hope a stable NuGet version of 2.8.0 will follow soon.