Description
Is there an existing issue for this?
- I have searched both open/closed issues, no issue already exists.
CefSharp Version
131.2.7
Operating System
Windows 10
Architecture
x64
.Net Version
.net 8
Implementation
WPF
Reproduction Steps
the supplied code is a repo based on the blazor webview i made together with jpmikkers. its different, but similar to his version @ https://github.com/jpmikkers/Baksteen.Blazor.CefSharp.
when using the WPF example and going to the counter page, and typing a random large text quickly into the first textbox you can get a render batch exception.
CefSharp.BlazorWebview.zip
Expected behavior
no exception being thrown by blazor
Actual behavior
blazor throwing render batch exception because it is getting a render complete message before the render is actually done.
Regression?
No response
Known Workarounds
N/A
Does this problem also occur in the CEF Sample Application
Not Tested
Other information
what is actually happening, from what i can understand and figured is that 2 renders are triggered in quick succession, or simultaneously, and the second render is faster than the first. this results in blazor getting a render complete message from the second render before the first render and it throwing an exception and no longer working.
it looks like CEF(sharp) is doing the 2 renders at the same time which it shouldn't do.
or it is somehow ditching one render, saying its complete, before it did anything at all.
any information of help is very much appreciated because i have no idea how to fix this...