Prevent CSS Animation from stopping when WinForms window is minimized #4202
Answered
by
amaitland
grimaldijoao
asked this question in
Q&A
|
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) |
Answered by
amaitland
Aug 14, 2022
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 |
1 reply
Answer selected by
grimaldijoao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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