Focus on browser when going fullscreen to shift keyboard focus (#29)

This commit is contained in:
Mitch Capper (they, them)
2024-10-02 02:00:29 -07:00
committed by GitHub
parent 7d6a9858bc
commit 22982e63b6
@@ -33,6 +33,7 @@ namespace CefSharp.Wpf.HwndHost.Example.Handlers
WindowState = WindowState.Maximized,
Content = webBrowser
};
fullScreenWindow.Loaded += (_,_) => webBrowser.Focus();
fullScreenWindow.ShowDialog();
}