Skip to content

Instantly share code, notes, and snippets.

@aydjay
Created June 18, 2018 10:58
Show Gist options
  • Save aydjay/ecb91c601a673cbc2a70797f71a8a1c7 to your computer and use it in GitHub Desktop.
Save aydjay/ecb91c601a673cbc2a70797f71a8a1c7 to your computer and use it in GitHub Desktop.
CefScrollingBug
<Window x:Class="CefScrollingBug.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:CefScrollingBug"
xmlns:wpf="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
mc:Ignorable="d"
Title="MainWindow" Height="500" Width="768">
<ScrollViewer x:Name="Scroller">
<StackPanel>
<wpf:ChromiumWebBrowser Width="640" Height="480" Address="www.google.com" />
<Button>Click me</Button>
<Button>Click me</Button>
<Button>Click me</Button>
<Button>Click me</Button>
<Button>Click me</Button>
<Button>Click me</Button>
<Button>Click me</Button>
<Button>Click me</Button>
<Button>Click me</Button>
<Button>Click me</Button>
</StackPanel>
</ScrollViewer>
</Window>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment