@Emily_Roman - Not sure the best place to post this. You can move it to the Bugs forum if it makes sense there.
This bug is related to these two feature releases:
- Ability to collapse/hide columns (sections) in Board view - #83
- Introducing Swimlanes on Board - Create rows to organize your kanban workflows!
There appears to be a bug when combining the collapse board columns feature with the swimlanes feature in Board views. The columns do not collapse properly, creating offsets. Nor are they shifting their writing mode to vertical the way they do when swimlanes are not used.
Example #1
Example #2
While the columns headers themselves collapse, the BoardBody-columnDraggableItemWrapper does not. I checked the CSS and found some of the culprits. The .BoardBody-column rule is declared after the .BoardColumn--collapsedSwimlanes rule—which overrides the .BoardColumn--collapsedSwimlanes property declarations.
But even then, the .BoardColumn--collapsedSwimlanes has a max-width applied. Which seems odd since it should effectively be hidden (e.g., visibility: collapse;).
I managed to add enough CSS to the swimlanes and .BoardGroupColumnHeader elements to get it functioning how it should. But wanted to let you folks know in case you want to flag it for the frontend team.
Example #3: After applying some custom fixes to the CSS myself
Other Notes
This occurs regardless of:
- Object type used for the swimlane section
- Card size set in the Options menu
- Color columns option set in Options menu
- I disabled all custom CSS/JS and Chrome extensions when testing this
Setting the first Group by option to “Hide empty groups” does hide the column entirely; but if the collapsed column has a card in it, then it’s still messed up.
PS. Idk if you folks are running tests now or what; but the HTML and CSS quality is looking a lot worse than it has historically. I’ve always appreciated how clean and well-organized Asana’s HTML and CSS was to work with. Everything from using random numbers in your class names (instead of data attributes like you have historically) to duplicate property declarations within a single CSS class.




