react-timeline-gantt icon indicating copy to clipboard operation
react-timeline-gantt copied to clipboard

Header days/times disappear on horizontal scroll

Open chadneiro opened this issue 5 years ago • 6 comments

Hey thanks for the timeline. I looks like a great start to a project. One issue I found was when dragging the timeline to the right, the header days/hours disappear in the Day and Week mode. This makes these modes hard to use.

chadneiro avatar Mar 01 '19 07:03 chadneiro

The other issue I found is when dragging in Week mode as soon as a new day starts to go behind the tasklist, the header switches to that day. I would think that the day on the header would not change when dragging horizontally left and right.

chadneiro avatar Mar 01 '19 07:03 chadneiro

Hello chadneiro, I can see both problems, let me take a look.

guiqui avatar Mar 07 '19 18:03 guiqui

Facing the same issue. Any suggestions for fixing this issue?

mouleeshguruggk avatar Aug 21 '19 11:08 mouleeshguruggk

Still facing this issue to date. Any updates on a solution?

alejandroeclair avatar Mar 22 '21 01:03 alejandroeclair

facing same issue, hope for help

Pats666 avatar Jul 12 '21 06:07 Pats666

Problem is with moment and buffer variables.

Moment admits themselves they might not be relevant anymore https://momentjs.com/docs/#/-project-status/

I'll submit a PR but I think the solution is to clone the moment objects in Headers.js startDate function

balbatross avatar Jul 16 '21 11:07 balbatross