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

Scrollbar handle moves only when mouse on top of the scrollbar #173

Open
jaukia opened this issue May 12, 2015 · 3 comments
Open

Scrollbar handle moves only when mouse on top of the scrollbar #173

jaukia opened this issue May 12, 2015 · 3 comments
Labels
Milestone

Comments

@jaukia
Copy link

jaukia commented May 12, 2015

Scrollbar accepts mousemove events only when the cursor is on top of the scrollbar. This makes scrolling difficult, since you need to make sure your cursor stays within the bounds of the scrollbar area. Typically, after you've clicked on a scrollbar thumb, you should be able to move mouse anywhere on the page to scroll the scrollbar.

@jaukia jaukia changed the title Scrollbar moves only when on top of scrollbar Scrollbar moves only when mouse on top of the scrollbar May 12, 2015
@jaukia jaukia changed the title Scrollbar moves only when mouse on top of the scrollbar Scrollbar handle moves only when mouse on top of the scrollbar May 12, 2015
@usmonster
Copy link
Collaborator

Hi @jaukia! Thanks for reporting this, though I'm not sure I completely understand the issue. Are you talking about scrolling with a mouse's scroll wheel, or do you expect the chart to scroll with the mouse pointer even when no mouse buttons are pressed?

@jaukia
Copy link
Author

jaukia commented May 12, 2015

Sorry for my vague description! Below, steps to reproduce, I hope this clarifies the issues:

  1. with a mouse, press button down on top of the slider handle
  2. keep mouse button pressed and move the mouse right, the slider handle should move right as well
  3. now, keep mouse button still pressed and move the mouse left but so that the cursor is not anymore on top of the slider area but on top of the gantt grid, for example

-> expected behaviour: slider handle moves even when cursor above/below slider area
-> currently happens: slider stops moving when the cursor leaves slider area (since mousemove events are not sent to the slider anymore, only to document)

@usmonster usmonster added bug and removed needs info labels Sep 1, 2015
@usmonster usmonster added this to the n+2 milestone Sep 1, 2015
@usmonster
Copy link
Collaborator

Thanks for the report! Yep, this is indeed an issue. The fix will be in an upcoming release.

@usmonster usmonster modified the milestones: v1.2.0, n+2 Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants