gantt-task-react
gantt-task-react copied to clipboard
Extend date problem If start and end date are same.
Hi,
I have a problem about date range changing if start and end date are same.
I can drag all bar in this case but I want to extend from start or end date. I cannot see the drag arrow
Can you help me about this. Thank you.
+1
The date of the item can have time component. If you set the end date to 12/8/2020 23:59:59, does that work for you?
Ok I see the issue. When the bar is too small to be rendered with the correct width for the duration of the task the element is rendered as a "smalltask" that is the width of the 2 date drag handlers but does not show the start and end drag handles.
@Graeme43 is there any solution about it? Because for the begining, start and end dates can be same.
The only way to stop this behaviour is to add a flag like disableSmallTask
that would stop the conversion of tasks into smalltasks. @MaTeMaTuK what do you think?
The only way to stop this behaviour is to add a flag like
disableSmallTask
that would stop the conversion of tasks into smalltasks. @MaTeMaTuK what do you think?
What you want to implement please explain and then I can give a solution for this.
Actually I explained on this link https://github.com/MaTeMaTuK/gantt-task-react/issues/101#issue-1337055888 İf I dont have any time differences between start and end date, I cannot drag bar to extend. Could i explain? if you ask me this question? @Arjit-Shivansh
I placed this tag disableSmallTask on Gantt component and it didn't work does anyone know where to place this tag? I didn't find this tag in the project...
When Type is Task and bar is too small, it sets barSmall and barSmall component doesn't have left and right bar handles to expand
This is a problem when you zoom out to a year view and still want to update.
Users will still want to be able to extend from a zoomed out view.