You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's the windowInfo.SetAsPopup call in this code that it is specific to Windows.
Removing that code correctly display the developer tools window without it beeing always displayed in front of the browser control.
publicvoidShowDeveloperTools(){varwindowInfo= CefWindowInfo.Create();if(CefRuntime.Platform == CefRuntimePlatform.Windows){// This function set ParentHandle (owner in Windows) and set Bounds to CW_USERDEFAULT (only works on Windows).// So, it should be called only in Windows.
windowInfo.SetAsPopup(BrowserHost?.GetWindowHandle()?? IntPtr.Zero,"DevTools");}
BrowserHost?.ShowDevTools(windowInfo, _cefClient,new CefBrowserSettings(),new CefPoint());}
When running on Windows 11 the developer tools window is always in front of the browser window.
The text was updated successfully, but these errors were encountered: