Page 1 of 1
[REACT] mysterious white block appears when changing column in swimlane mode
Posted: Tue Jan 14, 2025 11:09 am
by chrambes
Hi,
Please have a look at the gif below for the problem:

- 2025-01-14_16-59-59 (1).gif (313.67 KiB) Viewed 588 times
I was trying to change column by right clicking and select a different column when i have the group by stage on, a white block appeared at the original position. It didn't appear when there's group by none (i.e. no swimlanes).
Btw, we have on group by change function here, does the removeAll() here have any effect on the problem above?

- 2025-01-14_17-07-57.png (56.41 KiB) Viewed 588 times
Is there a way to solve this problem? Thanks.
Re: [REACT] mysterious white block appears when changing column in swimlane mode
Posted: Tue Jan 14, 2025 11:43 am
by ghulam.ghous
Hey,
I can see the issue for sure but not sure why it is happening. We are gonna need bit more details on how we can reproduce this issue on our end. It will be very helpful if you can share a minimal test case which we can run on our end and debug it. Moreover to naked eye, it seems like some sort of race condition. Can you please try checking the console, if there are any errors?
Re: [REACT] mysterious white block appears when changing column in swimlane mode
Posted: Tue Jan 21, 2025 4:40 am
by chrambes
Hi,
Is there anyone who could support on this issue by scheduling a teams call? The code base is quite complicated and it's hard to get a minimal test case out of it. Much appreciated.
Re: [REACT] mysterious white block appears when changing column in swimlane mode
Posted: Tue Jan 21, 2025 7:58 am
by tasnim
Hi,
Sorry, but calls are not allowed in bounds of support forum. If you're not able to provide a test case, could you please try with one of our online examples here https://bryntum.com/products/taskboard/examples/ if you can reproduce it or not.
Could you please also let us know what version of TaskBoard are you using?
Re: [REACT] mysterious white block appears when changing column in swimlane mode
Posted: Tue Jan 21, 2025 8:08 am
by chrambes
It's 5.6.7. I think the root cause of this problem might be because the swimlanes are dynamically loaded here, and we have multiple sets of swimlanes which are called 'group by' (for example, under 'group by: stage' there's one set of swimlanes, and under 'group by: owner' there's another set of swimlanes), and the default layout is 'group by: none' where there is no swimlanes at all. The problem occurred when we change from 'group by: none' to 'group by: stage' which generates the swimlanes. It does not occur when it's in default view. Hope this is a clearer description of the current problem.
Re: [REACT] mysterious white block appears when changing column in swimlane mode
Posted: Tue Jan 21, 2025 9:57 am
by chrambes
Hello, we found out that in this example:
https://bryntum.com/products/taskboard/examples/frameworks/react/javascript/auto-columns/build/
It actually has a similar problem see the following screen recording gif:

- 2025-01-21_15-55-16.gif (2.38 MiB) Viewed 511 times
When the group by has changed, the change column is not working properly, the original card still remains in the first column. Just like what we have encountered on our side.
Re: [REACT] mysterious white block appears when changing column in swimlane mode
Posted: Tue Jan 21, 2025 12:20 pm
by ghulam.ghous
Thanks for providing the details. I am able to see the issue in our examples and it is confirmed as a bug. We will investigate the issue here: https://github.com/bryntum/support/issues/10643