Hello,
In our application, WebView2 is placed in document window.
When I put 2 document windows side by side and click the window content(WebView2 area), document window tab color doesn't change to active color(blue).
Would you please help us?
Please change the following file, you can reproduce it.
File: SampleBrowser\ProductSamples\DockingSamples\QuickStart\MvvmDocumentWindows\TextDocumentItemView.xaml
<UserControl
x:Class="ActiproSoftware.ProductSamples.DockingSamples.QuickStart.MvvmDocumentWindows.TextDocumentItemView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking"
xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBox Grid.Row="0" BorderThickness="0" Text="{Binding Path=Text, Mode=TwoWay}" TextWrapping="Wrap" />
<wv2:WebView2 x:Name="WV2" Grid.Row="1" docking:InteropFocusTracking.IsEnabled="True" Source="https://www.actiprosoftware.com/blog" />
</Grid>
</UserControl>