jsgantt-improved icon indicating copy to clipboard operation
jsgantt-improved copied to clipboard

React-jsgantt shows gantt bars out of sync with timeline axis

Open jonathanlassen opened this issue 6 years ago • 4 comments

Noted that react-jsgantt example as well as implementation shows the bars not in sync with the axis and doesnt match the start end dates correctly.

https://user-images.githubusercontent.com/49896447/59026283-a6a5a180-8873-11e9-8aae-360e56f1308a.png

copied from: https://github.com/jsGanttImproved/react-jsgantt/issues/2

Issue was confirmed to be occurring in jsgantt-improved using the example json data from the react repository.

jonathanlassen avatar Jun 14 '19 00:06 jonathanlassen

I am also encountering this issue . But this happens only on Chrome and Opera . On IE and forefox same chart looks OK. Also this issue is prominent in large duration charts . Seems like it is a browser issue . Some offsets need to be added for Chrome and Opera browsers which will be kind of hack

mahmad2504 avatar Jul 22 '19 04:07 mahmad2504

Thanks for this and the example data as well

if u have any suggestions for the hack..

mariohmol avatar Jul 22 '19 13:07 mariohmol

we can make an IF based on the browser and include this hacks?

mariohmol avatar Dec 16 '19 16:12 mariohmol

The browser zooms in and out of sync

liugu avatar Dec 20 '19 02:12 liugu