From e8ebb21be4e32f4a3c8f325374ab2f60ca3a45d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Fri, 25 Oct 2024 15:46:18 +0200 Subject: [PATCH] SEBWIN-817: Resolved focus issue using custom focus handler and returning the actually correct value. --- SafeExamBrowser.Browser/Handlers/FocusHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SafeExamBrowser.Browser/Handlers/FocusHandler.cs b/SafeExamBrowser.Browser/Handlers/FocusHandler.cs index 30ed0d21..77e227ac 100644 --- a/SafeExamBrowser.Browser/Handlers/FocusHandler.cs +++ b/SafeExamBrowser.Browser/Handlers/FocusHandler.cs @@ -22,7 +22,7 @@ public void OnGotFocus(IWebBrowser webBrowser, IBrowser browser) public bool OnSetFocus(IWebBrowser webBrowser, IBrowser browser, CefFocusSource source) { - return true; + return false; } public void OnTakeFocus(IWebBrowser webBrowser, IBrowser browser, bool next)