-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fast horizontal scrolling #384
Comments
Thanks, good idea to add these kind of shortcut keys again. We too need a key+scroll combination to scroll vertically (see #152 (comment)) |
I seem to be close but no joy... In vis.js around 7935, I found the Range.prototype._onMouseWheel function and wrapped a hack around one line:
This SEEMS to move INVISIBLY move the timeline. No movement of elements is seen... no pan left/right.. BUT, when you do any little thing to manually move the timeline, the "moved" timeline and elements will instantly appear. While the horizontal scroll seems to work under the surface, you cannot see it happen. I tried this.redraw() but that didn't help. Any suggestions? thanks |
I see the methods |
+1 for improved navigation options for the end-user I'm not sure about any "standards" for this, but [1] SHIFT+mousewheel could work for horizontol scrolling (like you would have with http://www.simile-widgets.org/timeline/ ... which actually always scrolls horizontally); [2] CTRL+mousewheel might not be correct to change... as it is the browser zoom in Chrome, IE, and FF; so it feels more natural to keep it as current, zooming like mousewheel does; or pass on to browser zooming [3] perhaps ALT+mousewheel for vertical scrolling (see #152 (comment)) At the moment, it seems that [1], [2], [3] are all intercepted in v3.7.1 when the user is on the timeline; they all map to zooming in and out. This is a good start ;-) Outside of the timeline, [1] might bring the user back (or forward) in browser navigation; [2] appears to be a browser zoom across browsers; [3] might behave like [2] on Linux (using FF) but seems unused elsewhere. Note however that I'm no expert... |
Related to #283 |
Hi, Over the last year a lot of feature requests have been made. We have just introduced our new website which has a list of the requested features. We have placed this request on that list. The list can be found here: An explaination of the new system can be found here: I would like to stress that this does not mean we abandon this request. Discussion here will continue if needed on this feature but we will close it to keep our Github issue page more of a bug-todo list. Future feature requests will still be made here and then added to the website by us. Regards, Alex |
Reopening as Feature-Request issue (see #2114). |
@mojoaxel I've implemented a |
You are write! This is implemented! |
@mojoaxel I'm rereading this feature request and I think we can still improve what is in the |
👍 Feel free to reopen and add additional functionality! |
Maybe I missed an option, but the old chap/links timeline had a nice feature where SHIFT-mousewheel scrolled the timeline horizontally... fast.
With vis, it seems you get zoom with or without the shift key +wheel
Is there a way to re-enable that functionality?
thanks again.
The text was updated successfully, but these errors were encountered: