-
Notifications
You must be signed in to change notification settings - Fork 705
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
Fix issue with flyouts created in CommandBarFlyout not closing when commandbar closes #3079
Fix issue with flyouts created in CommandBarFlyout not closing when commandbar closes #3079
Conversation
// Move around over item to open flyout | ||
PointerInput.Move(FindElement.ById("ProofingButton"), 5, 5); | ||
PointerInput.Move(FindElement.ById("ProofingButton"), 6, 5); | ||
PointerInput.Move(FindElement.ById("ProofingButton"), 5, 6); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a change yesterday that would allow you to replace this with a click if you wanted to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right, yes. I don't think there is much benefit in updating this, but I'll use it next time when I write a test in this area.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a test failure, hopefully it is fixed with the latest changes. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Description
The code that closed the flyouts was only run when there were animations, which is a bug if animations are disabled as we leave flyouts open while the CommandBarFlyout is not open anymore.
Thanks @llongley for the pointer in that area!
Motivation and Context
Fixes #1792
How Has This Been Tested?
Add new interaction test.
Screenshots (if appropriate):