Feature request: option to use mousewheel for scrolling window even when over timeline-DIV
Hi team, I currently use the timeline component of visjs to display a historical overview of a wineyards which works perfect. I disabled scrolling by mousewheel without altKey (which means i use ALT as zoomKey, which works perfect) when i now scroll down the page using the mousewheel and the mousepointer is over the timeline-DIV page scrolling stops, because its captured by the timeline component.
It would be nice to have an option now to enable page scrolling by mousewheel especially when a zoomKey is specified.
my configuration:
var options = {
locale: 'de',
clickToUse: false,
height: '700px',
zoomable: true,
moveable: true,
selectable: true,
zoomKey: 'altKey',
};
I am using the latest version 4.21.0 and didn't find an option. To use the lib for our needs I commented out line 9619: event.preventDefault(); in function onMouseWheel() to have scrolling page by mousewheel.
Thanks! Julian