Skip to content

CommandBarFlyoutCommandBar fix - respond to size changes #6868

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

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

RBrid
Copy link
Contributor

@RBrid RBrid commented Mar 21, 2022

Instead of just reacting to AppBarButton / AppBarToggleButton dependency property changes that might affect the owning CommandBarFlyout size, react to size changes in general to account for CommandBarFlyoutCommandBar visibility changes (addresses issue #6864) and OverflowContentRoot size changes.

The changes involve expanding the use of the internal parameter 'isForCommandBarElementDependencyPropertyChange' to size changes in general. I thus changed its name to 'isForSizeChange'.

I added a new test for the case where an AppBarButton visibility changes, and a test for the case where the OverflowContentRoot size changes.

@RBrid RBrid requested review from ojhad and llongley March 21, 2022 23:10
@RBrid RBrid self-assigned this Mar 21, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Mar 21, 2022
@RBrid
Copy link
Contributor Author

RBrid commented Mar 21, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ojhad ojhad added team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Mar 21, 2022
@RBrid RBrid marked this pull request as ready for review March 23, 2022 17:55
@RBrid RBrid merged commit 573e4a2 into main Mar 23, 2022
@RBrid RBrid deleted the user/regisb/CommandBarFlyoutCommandBarFix2 branch March 23, 2022 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CommandBarFlyout team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants