WPF - DisableTouchpadAndWheelScrollLatching

In ChromiumWebBrowser disable by default when default call to Cef.Initialize

Issue #2408
This commit is contained in:
amaitland
2018-06-25 11:51:37 +10:00
parent 97eb6cf3f5
commit fda291baec
3 changed files with 26 additions and 3 deletions
+3 -1
View File
@@ -108,7 +108,9 @@ namespace CefSharp.Example
settings.WindowlessRenderingEnabled = true;
//https://github.com/cefsharp/CefSharp/issues/2408
settings.CefCommandLineArgs.Add("disable-features", "TouchpadAndWheelScrollLatching,AsyncWheelEvents");
settings.DisableTouchpadAndWheelScrollLatching();
//This maybe required for scrolling overflow views in iframes
//see https://bitbucket.org/chromiumembedded/cef/issues/2400/scroll-wheel-becomes-non-functional-with#comment-44369181
settings.CefCommandLineArgs.Add("disable-blink-features", "RootLayerScrolling");
//Disable Direct Composition to test https://github.com/cefsharp/CefSharp/issues/1634