-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScrollBar scrolling when mouse move without left button pressing #2060
Comments
I'm also seeing this with the latest version 62 prerelease. The scrolling behavior is also inconsistent with the behavior of other standard windows. When the mouse button is held down on the scrollbar and the mouse is moved out of the window slightly to the right, scrolling should continue (try it with your browser on this page) - CefSharp allows slight movement to the left when scrolling but not to the right. This makes it very difficult to use unless the window is maximized. |
…ll SendMouseClickEvent when left mouse button pressed Resolves cefsharp#2060 # Conflicts: # CefSharp.Wpf/ChromiumWebBrowser.cs
Hi @amaitland - the fix in 49463b2 still does not allow the mouse to be moved even slightly to the right of the scrolllbar when scrolling, this affects usablilty. Standard windows do allow the mouse to be moved either to the left or the right of the scrollbar. I had better results by capturing the mouse instead - this works fine with the example app in Windows 10:
|
@martinburrows Thanks for the feedback, as you can see that change has not been merged as limited testing has been done. Comments on your code:
We used |
Thanks for the reply @amaitland, yes I wasn't sure of the best way for |
For now going with my original set of changes as I think it's at least an improvement. Merged in dd4b7d6 By all means submit a |
…ll SendMouseClickEvent when left mouse button pressed Resolves #2060 # Conflicts: # CefSharp.Wpf/ChromiumWebBrowser.cs
Possibly |
Thanks, I'll take a look |
Closing this now as the originally reported issue has been resolved. Improving usability makes sense, so I've opened #2258 to track that. |
What version of the product are you using?
-57.0.0
What architecture x86 or x64?
-x64
On what operating system?
-Win10
Are you using
WinForms
,WPF
orOffScreen
?-WPF
What steps will reproduce the problem?
1)Run the official project 'CefSharp.Wpf.Example'
2)Draging the scrollbar with left button pressing
3)move the cursor out of the browser control(move to right side)with left button pressing
4)release left button
5)move in browser control,the scrollbar will scrolling with mouse moving
The text was updated successfully, but these errors were encountered: