Page 1 of 1

[REACT] Custom column editor in Gantt lose its value

Posted: Thu Jun 01, 2023 5:51 pm
by jit@flowit.dk

Hi.

We are building custom column editors/controls for Gantt but are experiencing loss of data.
After days of debugging we finally realized that it is the combination of React v. 18 + lack of renderers for all columns that is causing the problem.

Video demonstrating the problem + runnable sample (based on React v. 18) attached.


Re: [REACT] Custom column editor in Gantt lose its value

Posted: Fri Jun 02, 2023 11:45 am
by alex.l

Hi Jimmy,

Thank you for the report, clear description and a test case. I've reproduced that and opened a ticket here https://github.com/bryntum/support/issues/6912


Re: [REACT] Custom column editor in Gantt lose its value

Posted: Tue Jun 06, 2023 10:27 am
by jit@flowit.dk

Thanks @alex.l

Could you please create a ticket regarding the upgrade of React in your React examples to ensure that similar bugs are caught on your end in the future? It is very time consuming for us.


Re: [REACT] Custom column editor in Gantt lose its value

Posted: Tue Jun 06, 2023 3:13 pm
by jit@flowit.dk

@alex.l While I was able to work around the bug in the simplified example previously attached, by declaring renderers for all columns, this does not seem to solve the issue with our actual implementation. This makes it a high priority problem for us. Would it be possible for you guys to look into this as soon as possible and either provide us with a reliable work around, or an estimate for an actual bug fix?

-- Thanks


Re: [REACT] Custom column editor in Gantt lose its value

Posted: Wed Jun 07, 2023 10:52 am
by mats

We've marked this one as critical and it's in progress, should be going out in our next patch release.


Re: [REACT] Custom column editor in Gantt lose its value

Posted: Wed Jun 07, 2023 11:11 am
by jit@flowit.dk

Thanks @mats - appreciate it


Re: [REACT] Custom column editor in Gantt lose its value

Posted: Thu Jun 08, 2023 2:34 pm
by jit@flowit.dk

Might be related: viewtopic.php?t=25263


Re: [REACT] Custom column editor in Gantt lose its value

Posted: Thu Jun 08, 2023 3:18 pm
by saki

Yes, it's looks like these bugs have the same cause. Working on that.


Re: [REACT] Custom column editor in Gantt lose its value

Posted: Fri Jun 09, 2023 9:18 am
by jit@flowit.dk

Thanks