jQuery.Gantt icon indicating copy to clipboard operation
jQuery.Gantt copied to clipboard

Scrollbar handle moves only when mouse on top of the scrollbar

Open jaukia opened this issue 9 years ago • 3 comments

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 avatar May 12 '15 09:05 jaukia

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?

usmonster avatar May 12 '15 11:05 usmonster

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)

jaukia avatar May 12 '15 11:05 jaukia

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

usmonster avatar Sep 01 '15 17:09 usmonster