almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.85k stars 1.48k forks source link

BUG: Horizontal scroll not working when zoom is disabled and zoomKey == '' (empty string) #3908

Open androsj opened 6 years ago

androsj commented 6 years ago

Horizontal scroll doesn't work when zoomKey equals '' (empty string), irrelevant of the value of the zoomable property. It should work when zoom is disabled.

From the docs:

Only applicable when option zoomCtrl is defined or zoomable is false.

Example of options object:

{
  horizontalScroll: true
  zoomKey: ""
  zoomable: false
}

Vis component: Timeline Version 4.21.0 OS: Ubuntu Browser: Chromium

yotamberk commented 6 years ago

Fixed in https://github.com/yotamberk/timeline-plus the new timeline fork which is maintained weekly