Skip to content
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

Cannot drag scrollbar #94055

Closed
alexdima opened this issue Mar 31, 2020 · 3 comments
Closed

Cannot drag scrollbar #94055

alexdima opened this issue Mar 31, 2020 · 3 comments
Assignees
Labels
notebook under-discussion Issue is under discussion for relevance, priority, approach webview Webview issues
Milestone

Comments

@alexdima
Copy link
Member

Testing #93742

  • click on the scrollbar
  • try to scroll by dragging the scrollbar
  • observe that over issue results the scrollbar cannot be dragged

TO_UPLOAD

@rebornix rebornix added under-discussion Issue is under discussion for relevance, priority, approach webview Webview issues labels Mar 31, 2020
@rebornix
Copy link
Member

When the focus goes into the webview, the scrollbar no longer receives mouse move/drag events. We should probably emit mouse move (with mouse button pressed) from the webview and send them to the scrollbar.

@rebornix rebornix added this to the April 2020 milestone Mar 31, 2020
@alexdima
Copy link
Member Author

alexdima commented Apr 3, 2020

@rebornix An alternative would be for the scrollbar to emit some kind of event that it is currently dragging and then you can render a transparent <div> that captures mouse moves from the entire page.

In fact, I wonder if this isn't a bug already when dragging from an editor's scrollbar and moving the mouse over a webview?

@rebornix
Copy link
Member

rebornix commented Apr 3, 2020

Yes, it’s a generic issue for webview and your solution should work for all webviews.

@rebornix rebornix mentioned this issue Apr 3, 2020
11 tasks
@github-actions github-actions bot locked and limited conversation to collaborators May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
notebook under-discussion Issue is under discussion for relevance, priority, approach webview Webview issues
Projects
None yet
Development

No branches or pull requests

3 participants