I have a issue with 6.1.3 and 6.1.4. I try my best to describe it, and I currently have no way to extract and produce a working snippet to re-produce the issue yet. The project is written in React.
So the current UI has two screen, Add
This first screen is the place/component where the chart is rendered (init)
The current screen is showing only the grid as I have kept the
show_chart to hidden.
When the Add button is clicked, a
Form component will appear (I have blanked it out).
Back button to go back to the previous component (which is the Add page)
Now, using v6.1.3 and 6.1.4, whenever I click
Add and then
Back it will throw me this exception. You can find it in the attachment, do scroll down to view the error. Note that, sometimes I get the exception only after I have click
Back twice and onwards. Sometimes the first time I click on
Back, it will hit the exception.
I tested with v6.1.2, I am able to click
Back (multiple times) without hitting the exception.
I am also not trying to re-init the Chart multiple times. There is only one
gantt.init() and it’s only on
The component setup is similar to my Github Demo except that my Github one does not have the
Back button at the moment. However, the way I arrange my component and init the gantt is almost the same as the actual project.
Let me know if this is sufficient to track down the issue. If not, I need to think of some way to re-produce it. Or let me know if there’s any logs generated by gantt so I can attach it here.