neuronetio / gantt-schedule-timeline-calendar

Gantt Gantt Gantt Timeline Schedule Calendar [ javascript gantt, js gantt, projects gantt, timeline, scheduler, gantt timeline, reservation timeline, react gantt, angular gantt, vue gantt, svelte gantt, booking manager ]
https://gantt-schedule-timeline-calendar.neuronet.io
Other
3.15k stars 368 forks source link

Display 2 Gantt charts on one page, these 2 Gantt charts will interfere with each other #179

Closed angel-fore closed 4 years ago

angel-fore commented 4 years ago

Two Gantt charts written in two components but on one page, the columns of the second Gantt chart shows in the first Gantt chart.This problem is accidental and does not happen every time. I used vue-gantt-schedule-timeline-calendar。Happens when two Gantt charts switching period at the same time

neuronetio commented 4 years ago

Please paste some code here or use jsbin etc Thanks

neuronetio commented 4 years ago

It is problem by your side, maybe you are not creating new state for second instance? I don't know.

angel-fore commented 4 years ago

import GSTCA from 'vue-gantt-schedule-timeline-calendar' import GSTCB from 'vue-gantt-schedule-timeline-calendar' ... components: { 'contentGSTC':GSTCA, 'esourcerGSTC':GSTCB, },

the component's name ,I use Capital letter, this question is not exit, but when I use lower case letters, like the above, 2 Gantt charts will interfere with each other.