-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Hide open flyouts when MessageDialog is shown
- Loading branch information
1 parent
ecbbe90
commit 0b00af4
Showing
4 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
src/Uno.UWP/Uno/DispatcherTimerHelper.cs → src/Uno.UWP/Helpers/DispatcherTimerProxy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#nullable enable | ||
|
||
using System; | ||
|
||
namespace Uno.Helpers | ||
{ | ||
internal static class VisualTreeHelperProxy | ||
{ | ||
private static Action? _closeAllPopups; | ||
|
||
public static void CloseAllPopups() => _closeAllPopups?.Invoke(); | ||
|
||
public static void SetCloseAllPopupsAction(Action closeAllPopups) => _closeAllPopups = closeAllPopups; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters