Describe the bug
In WinUI3 Desktop, we are unable to type in text into the TextBoxes inside ContentDialogs with some exceptions.
More detailed observations and debugging below in the "Additional Context" section.
Steps to reproduce the bug
Expected behavior
We expect text to appear within the textbox when typing. We expect to see the same behavior we saw in UWP.
Build and run the TextBoxUWP solution inside the TextBoxUWP folder to see expected behavior.
Screenshots
Screenshot#1 - TextBox inside ContentDialog
Version Info
NuGet package version:
[Microsoft.VCRTForwarders.140 1.0.6]
[Microsoft.WinUI 3.0.0-preview1.200515.3]
Targeting:
Target: Universal Windows
Target version: Windows 10, version 1809 (10.0; Build 17763)
Min version: Windows 10, version 1809 (10.0; Build 17763)
| Windows 10 version | Saw the problem? |
| :--------------------------------- | :-------------------- |
| Insider Build (xxxxx) | |
| November 2019 Update (18363) | |
| May 2019 Update (18362) | |
| October 2018 Update (17763) | Yes |
| April 2018 Update (17134) | |
| Fall Creators Update (16299) | |
| Creators Update (15063) | |
| Device form factor | Saw the problem? |
| :-------------------- | :------------------- |
| Desktop | Yes |
| Mobile | |
| Xbox | |
| Surface Hub | |
| IoT | |
Additional context
When trying to type into the TextBox immediately, no characters appear.
When trying to type quickly with many characters into the TextBox immediately, the text cursor seems to freeze up and not blink.
However, after clicking away from or outside of the application window, we are able to type in a subset of characters into the TextBox. This subset includes:
I'm having the same issue, is there no workaround? My app depends on ContentDialogs with text boxes.
@Austin-Lamb @JesseCol @anawishnoff as FYI.
Just to say, I have the same problem with Preview 2. I am on the latest Insider build of Windows 10.
This bug appears to be fixed internally, hopefully it will be in Preview 3 later this year.
@lyahdav This is an issue on OS XAML too
@Austin-Lamb I am having this issue in Preview 3 as well.
Most helpful comment
I'm having the same issue, is there no workaround? My app depends on ContentDialogs with text boxes.