Our flexible Kanban board for managing tasks with drag drop


Post by ahelis »

The issue we are seeing happens immediately following a hard browser refresh. After a swimlane has been collapsed, it auto expands while scrolling vertically. I have not been able to reproduce the issue in your demo code.

Board configuration:
5 Columns
6 Swimlanes
stickyHeaders = true
Data is distributed in a single column, roughly 100 cards per swimlane.
Pagination = we set event listeners on the page scroll - vertical and horizontal (if it exists) to load more cards vertically or horizontally.

We initially load 8 rows of cards. All columns and swimlanes are expanded by default. We need to scroll down 10 times to see the next swimlane.

STR:

  1. After page load, collapse the first swimlane
  2. Start scrolling down the page (2nd swimlane become sticky momentarily).

Expected Behavior:
1st swimlane is still collapsed

Actual Behavior:
1st swimlane becomes sticky and is expanded.

I think this is a side effect of how we load data into the board. Even though we collapsed the 1st swimlane the next vertical scroll will continue to load more records into the store for the 1st swimlane, until all of the records for the 1st swimlane are loaded, then we fetch the records for the 2nd swimlane and exhaust the 2nd swimlane records, then the 3rd ... .

So my question: Is there logic in the board to auto-expand a swimlane when new records are rendered into it? If yes, then can this behavior be suppressed?


Post by marcio »

Hey ahelis,

Are you able to record a video and/or share a custom project with the configuration that you mentioned?

About the logic, there isn't such a thing, you can test in the demo here https://bryntum.com/products/taskboard/docs/guide/TaskBoard/basics/swimlanes#features if you close the swimlanes and add a new task, the swimlane won't expand.

Best regards,
Márcio


Post by ahelis »

bryntum-taskboard-5.2.3-auto-expand-first-swimlane_06-06-2023.mov
demonstrates the first swimlane autoexpanding
(14.13 MiB) Downloaded 30 times

Post by marcio »

Hey ahelis,

Thanks for the video, that clarifies the issue, but as we're not able to reproduce the issue on our demos, we would need a test case for us to check why is that happening. We have some guidelines for help if you need https://www.bryntum.com/forum/viewtopic.php?f=1&t=772

Also, if you update to the latest version, does the issue continue happening?

Best regards,
Márcio


Post by ahelis »

Thank you Marcio. We found the problem in our code, please go ahead and close this support case. Your response helped us in tracking down the root cause.


Post Reply