Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Controls/src/Core/WebView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public async Task<string> EvaluateJavaScriptAsync(string script)

string result;

if (_evaluateJavaScriptRequested?.GetInvocationList().Length == 0)
if (_evaluateJavaScriptRequested != null) // With Handlers we don't use events, if is null we are using a renderer and a handler otherwise.
{
// This is the WebViewRenderer subscribing to these requests; the handler stuff
// doesn't use them.
Expand Down