diff --git a/CefSharp.Wpf/ChromiumWebBrowser.cs b/CefSharp.Wpf/ChromiumWebBrowser.cs index e615f53e0..64092b899 100644 --- a/CefSharp.Wpf/ChromiumWebBrowser.cs +++ b/CefSharp.Wpf/ChromiumWebBrowser.cs @@ -966,7 +966,7 @@ namespace CefSharp.Wpf //When using a custom it appears we need to update the cursor in a sync fashion //Likely the underlying handle/buffer is being released before the cursor // is created when executed in an async fashion. Doesn't seem to be a problem - //for build in cursor types + //for built in cursor types UiThreadRunSync(() => { Cursor = CursorInteropHelper.Create(new SafeFileHandle(handle, ownsHandle: false)); @@ -1899,6 +1899,8 @@ namespace CefSharp.Wpf if (isVisible) { + host.Invalidate(PaintElementType.View); + //Fix for #1778 - When browser becomes visible we update the zoom level //browsers of the same origin will share the same zoomlevel and //we need to track the update, so our ZoomLevelProperty works