-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ContentDialog Input not working for TextBox #3804
Comments
And type application is Packaged app. |
Sounds like a bug with WinUI 3 controls, not a problem in Xaml Controls Gallery app. Moving repos. |
I think there's still an issue in the XCG which needs to update the ContentDialog page to use XamlRoot. I wonder if this is a symptom of that. |
Xaml root is not problem. I reported bug about it, but this is new. I assign into property button, which worked okay, everything was okay, but when I try text input, nothing. |
Thanks for clarifying @JanRajnoha - in that case, I agree with @YuliKl that it sounds like this might be a platform issue. |
@JanRajnoha do you know if this issue is unique to Winui3 or if its present in system xaml as well? |
This may be related to an issue that Windows Terminal has found |
Thanks for the link-up @mdtauk! Yeah, this is impacting us on system islands. |
@StephenLPeters ContentDialog with text input works fine in UWP and I suppose it is same bug which @mdtauk wrote. |
@StephenLPeters Yeah -- Terminal is an app using system Xaml (Islands) that has the same issue. |
@DHowett a fix to this issue would require system xaml changes and wouldn't go down level, thus I've marked the issue as needs-winui-3 to be addressed after winui3 is shipped. Has Terminal team found a work around that we can post back here? |
No. The workaround we've chosen is to not use ContentDialogs. |
Okay, but I think this problem will be more Serious after releasing version ready for production apps, so avoiding to use it is not good idea. 😕🤔 |
Input is working again, closing issue |
I believe someone on the team should reopen this. It's still an issue on system Xaml Islands, and it will be an issue forever. It should only be closed when WinUI3 hits GA 😄 |
Right now we have a very very high bar for moving fixes back into system xaml. I don't think this will meet that bar, and since it is fixed in winui3 I'm going to keep this closed. |
This bug can be fixes for System-Xaml / Xaml-Islands by attaching a
|
@StephenLPeters I noticed that the new WinUI 2 XAML Islands based Notepad does not have this issue in the Go To ContentDialog yet the issue still remains in Windows. Does anyone knows how the Notepad developers were able to fix this issue? |
Describe the bug
I tried create ContentDialog with input like TextBox or PasswordBox, but text input is not working. CheckBox (like in sample gallery) is okay. Shortcuts are okay and deleting chars (backspace or delete) is okay too. Content of ContentDialog is created as User Control (from WinUI 3) and testing it as Control in page is its behavior ok too. Is this behavior intentional?
Steps to reproduce the bug
ContentDialog with TextBox (or PasswordBox).
Actual behavior
Input from keyboard not working, Ctrl+V is okay, backspace is okay too.
Version Info
Sample gallery version: 1.2.16.0
Windows 10 version: 20211
Settings of project
The text was updated successfully, but these errors were encountered: