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

Focus Message Dialog from flyout #2538

Closed
dxdx347 opened this issue Jun 7, 2016 · 2 comments
Closed

Focus Message Dialog from flyout #2538

dxdx347 opened this issue Jun 7, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@dxdx347
Copy link

dxdx347 commented Jun 7, 2016

What steps will reproduce this issue?

The user presses a button inside Flyout to execute a command and if an error message dialog appears, he has to click twice in order to close it (one time to close Flyout and the second time to close the message box). The problem appears only if the user clicks the message box affirmative button; if Enter is pressed, then the button is pressed.

Expected outcome

The dialog should have focus so the user does not need to click it twice in order to close it, or the Flyout should be closed when the message box appears.

Environment

  • MahApps.Metro v1.2.4
  • Windows 10
  • Visual Studio 2015
  • .NET Framework 4.6.1
@dxdx347
Copy link
Author

dxdx347 commented Jun 7, 2016

The attached project reproduces the problem as closely as possible as it is in my project. I observed that the problem is appears when flyout IsPinned="false".
Test.zip

@punker76 punker76 added this to the 1.3.0 milestone Jun 7, 2016
@punker76 punker76 self-assigned this Jun 7, 2016
punker76 added a commit that referenced this issue Jun 7, 2016
don't close unpinned Flyout when a dialog is open
@punker76
Copy link
Member

punker76 commented Jun 7, 2016

@dxdx347 Thx for the sample! It's now fixed with fe98adc (coming in 1.3.0-ALPHA160)

@punker76 punker76 closed this as completed Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants