Prevent CSS Animation from stopping when WinForms window is minimized #4202
-
Basically the question explains it all, when i click outside my form the animation keeps running correctly, but when i minimize the application it halts execution. (You can reproduce this by capturing the WinForms window in OBS or Discord) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is the expected behaviour. You can create your own class that inherits from ChromiumWebBrowser and override ResizeBrowser, ignore calls when size is 0,0 https://github.com/cefsharp/CefSharp/blob/cefsharp/104/CefSharp.WinForms/ChromiumWebBrowser.cs#L821 |
Beta Was this translation helpful? Give feedback.
This is the expected behaviour.
You can create your own class that inherits from ChromiumWebBrowser and override ResizeBrowser, ignore calls when size is 0,0
https://github.com/cefsharp/CefSharp/blob/cefsharp/104/CefSharp.WinForms/ChromiumWebBrowser.cs#L821