Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Initialize tabledrag called `this.displayColumns(showWeight)` added extra ONE colspan to default value
Proposed resolution
A: calc the colspan on each `displayColumns` (complicated)
B: Add a flag to indicate the default state and skip addition on page load. (simple)
Remaining tasks
- Pick a workaround
- Patch
User interface changes
- the columns display correctly
API changes
- TBA
Data model changes
- TBA
Comments
Comment #2
GrandmaGlassesRopeManComment #3
cilefen CreditAttribution: cilefen at Institute for Advanced Study commented"Wired" or "weird"?
Comment #4
droplet CreditAttribution: droplet commentedComment #5
droplet CreditAttribution: droplet commentedComment #6
droplet CreditAttribution: droplet commentedComment #17
pameeela CreditAttribution: pameeela commentedI'm not able to reproduce this with tabledrag in the sidebar for Layout builder. The screenshot seems to show a sidebar edit view for menus but this is no longer possible in core.
Closing but if there are some proper steps to reproduce that show it still occurring, please re-open.