cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.79k stars 2.92k forks source link

Scrolling with mouse wheel does not work reliable when viewing PDF #3995

Closed zheng-baocai closed 2 years ago

zheng-baocai commented 2 years ago
amaitland commented 2 years ago

Thanks for taking the time to fill out the bug report.

  • Does this problem also occur in the CEF Sample Application Yes

As per the bug report template, issues that reproduce with the CEF Sample Application need to be reported at the CEF Issue Tracker.

A quick check and it looks like this has already been reported at https://bitbucket.org/chromiumembedded/cef/issues/3153/mouse-wheel-in-chromium-pdf-viewer-doesnt

Closing as upstream as the bug needs to be fixed in CEF.

amaitland commented 2 years ago

This should be fixed by the new PDF Viewer which is due to be enabled by default in M100.

Starting in version 98 you can test it out using the following command line arg:

settings.CefCommandLineArgs.Add("enable-features", "PdfUnseasoned");