Skip to content
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 FlowDirection does not follow the XamlRoot.Content FlowDirection #9899

Open
Gaoyifei1011 opened this issue Aug 15, 2024 · 0 comments
Labels
area-Dialogs area-Popup bug Something isn't working team-Controls Issue for the Controls team

Comments

@Gaoyifei1011
Copy link

Describe the bug

ContentDialog FlowDirection does not follow the XamlRoot.Content FlowDirection
ContentDialog FlowDirection 并不跟随 XamlRoot.Content 的 FlowDirection

As shown in the figure, when ContentDialog.XamlRoot is mounted to Window.Content, when ContentDialog is displayed and the FlowDirection of Window.Content is RTL, The ContentDialog is unchanged
如图所示,ContentDialog.XamlRoot 挂载到 Window.Content 时,显示 ContentDialog 时,Window.Content 的 FlowDirection 为 RTL 时,ContentDialog 没有变化

Steps to reproduce the bug

See describe

Expected behavior

ContentDialog FlowDirection should follow the XamlRoot.Content FlowDirection
ContentDialog FlowDirection 应该跟随 XamlRoot.Content 的 FlowDirection

Screenshots

{A3E9F5F1-F386-4E46-AAD9-78E26B603FEC}

NuGet package version

WinUI 3 - Windows App SDK 1.6 Preview 1: 1.6.240807006-preview1

Windows version

Windows 11 (22H2): Build 22621

Additional context

Also exists in Windows App SDK 1.5 and UWP (Including WinUI 2)

@Gaoyifei1011 Gaoyifei1011 added the bug Something isn't working label Aug 15, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Aug 15, 2024
@codendone codendone added area-Dialogs team-Controls Issue for the Controls team area-Popup and removed needs-triage Issue needs to be triaged by the area owners labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Dialogs area-Popup bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants