Skip to content

horizontalScroll option not working #112

@hassaans

Description

@hassaans

Overview

I'm unable to use horizontal scrolling, even though I've set the horizontalScroll option to true.

Package versions

react-visjs-timeline: "1.5.0"
vis version: "4.21.0-EOL"

Code Snippet

import React from 'react';
import Timeline from 'react-visjs-timeline';

const TimelineComponent = ({ items }) => {
  return (
    <Timeline
      options={{
        width: '100%',
        height: '116px',
        horizontalScroll: true,
        zoomable: false,
        zoomMax: 10000,
        zoomMin: 10000,
      }}
      items={items}
    />
  );
};

export default TimelineComponent;

Related issues

visjs/vis#3908

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions