-
Notifications
You must be signed in to change notification settings - Fork 690
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
[Gallery][All Platform]ContentDialog - When clicking inside the dialog box, the 'OK' button highlighting disappears. #16358
Comments
@MartinZikmund, @kazo0, @morning4coffe-dev I think the "Expected Result" is not correct and the current behavior is the correct one no? |
As the expected video shows WinUI, I think it should be the correct behavior, as in our case clicking On the other hand (and that is a different issue) - I think this is Material style of dialogs while the tab says it should be fluent 🤔 |
I think the implementation is different Material/Fluent. In Fluent (WinUI) the Expected behavior is the correct one while with Material you are able to deselect the primary button Recording.2024-05-09.162009.mp4 |
But as this is a style concern, I am not sure whether we keep the behavior separate in the two themes easily. On the other hand, the difference should not be a deal breaker, but we should still investigate, whether the unfocus should not be happening in Uno (as part of the popup handling) |
This happens because of uno/src/Uno.UI/UI/Xaml/Internal/InputManager.Pointers.cs Lines 192 to 205 in 057b269
Ideally, this code should be removed once we have RootScrollViewer, and In the above case when inside a popup, there will be no ancestor ScrollViewer, so that's why focus shouldn't change. |
Current behavior
Uno.Gallery.-.Google.Chrome.2024-04-18.14-35-51.mp4
Expected behavior
WinUI.Desktop.2024-04-18.14-39-40.mp4
How to reproduce it (as minimally and precisely as possible)
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
WebAssembly, Android, iOS, Skia (GTK on Linux/macOS/Windows)
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: