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

CommandBarFlyout does not respect ShouldConstrainToRootBounds #6380

Closed
1 of 2 tasks
zhuxb711 opened this issue Nov 25, 2021 · 5 comments
Closed
1 of 2 tasks

CommandBarFlyout does not respect ShouldConstrainToRootBounds #6380

zhuxb711 opened this issue Nov 25, 2021 · 5 comments
Labels
area-CommandBarFlyout needs-author-feedback Asked author to supply more information. no-recent-activity team-Controls Issue for the Controls team

Comments

@zhuxb711
Copy link
Contributor

Describe the bug

Set ShouldConstrainToRootBounds="False" but CommandBarFlyout is still limited in the XAML root

Steps to reproduce the bug

  1. Set ShouldConstrainToRootBounds="False"
  2. Found that takes no effect

Expected behavior

Should be able to display outside the XAML root

Screenshots

No response

NuGet package version

Microsoft.UI.Xaml 2.7.0

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

May 2021 Update (19043)

Additional context

No response

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Nov 25, 2021
@castorix
Copy link

This has already been reported : The ShouldConstrainToRootBounds property of the Popup doesn't work

@zhuxb711
Copy link
Contributor Author

@castorix #5958 said that is a bug in WinUI3, also exists in UWP WinUI 2.7

@StephenLPeters StephenLPeters added area-CommandBarFlyout team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Feb 16, 2022
@StephenLPeters
Copy link
Contributor

@llongley is there a technical limitation for why this doesn't work today?

@llongley
Copy link
Member

A very quick test app shows that it seems to work:

image

@zhuxb711 do you have a test app demonstrating the issue you're seeing?

@krschau krschau added the needs-author-feedback Asked author to supply more information. label Jun 23, 2022
@ghost ghost added the no-recent-activity label Jul 1, 2022
@ghost
Copy link

ghost commented Jul 1, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CommandBarFlyout needs-author-feedback Asked author to supply more information. no-recent-activity team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

5 participants