Skip to content

Commit

Permalink
fix(reg): Add missing FocusVisualLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Jun 9, 2021
1 parent e76c7ec commit fddc5b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Uno.UI/UI/Xaml/Window.macOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,16 @@ private void InternalSetContent(UIElement value)
Visibility = Visibility.Collapsed
};

FocusVisualLayer = new Canvas() { IsHitTestVisible = false };

_main = new Grid()
{
IsVisualTreeRoot = true,
Children =
{
_rootBorder,
_fullWindow
_fullWindow,
FocusVisualLayer
}
};

Expand Down

0 comments on commit fddc5b0

Please sign in to comment.