Skip to content

Commit 22a58d8

Browse files
WebView2 library downgrade (#329)
After updating `Microsoft.Web.WebView2` to version `1.0.3296.44` some users have started reporting problems with the chat rendering (an empty Cody window). Looks like last update to `1.0.3351.48` doesn't resolve the issue also, so downgrading to `1.0.2592.51` which is the last good working version. Unfortunately it does not have fix for MicrosoftEdge/WebView2Feedback#286 (WebView2 is always on the top of the other controls). Users are reporting a blank Cody window, but looks like internally that the page is loaded, and when interacting with the control the cursor is changing and reacting to different page areas (e. g. buttons). More context: https://sourcegraph.slack.com/archives/C073U3KE5DK/p1753121170575139 Probably related: 1. MicrosoftEdge/WebView2Feedback#5189 2. MicrosoftEdge/WebView2Feedback#5281
1 parent d646f6c commit 22a58d8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Cody.UI/Cody.UI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<ItemGroup>
8989
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.0.0-previews-4-31709-430" ExcludeAssets="runtime" />
9090
<PackageReference Include="Microsoft.Web.WebView2">
91-
<Version>1.0.3351.48</Version>
91+
<Version>1.0.2592.51</Version>
9292
</PackageReference>
9393
</ItemGroup>
9494
<ItemGroup />

src/Cody.UI/Controls/CodyWebView2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Cody.UI.Controls
55
{
6-
public class CodyWebView2 : WebView2CompositionControl
6+
public class CodyWebView2 : WebView2
77
{
88
protected override void OnPreviewKeyDown(KeyEventArgs e)
99
{

0 commit comments

Comments
 (0)