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

CommentFileSizeAuthor
col.png70.87 KBdroplet
Members fund testing for the Drupal project. Drupal Association Learn more

Comments

droplet created an issue. See original summary.

drpal’s picture

Issue tags: -JavaScript +CSS
cilefen’s picture

"Wired" or "weird"?

droplet’s picture

Title: Wired style in tables with hide columns » Weird style in tables with hide columns
droplet’s picture

Title: Weird style in tables with hide columns » Wrong colspan for all tableDrag tables
Component: outside_in.module » javascript
Issue summary: View changes
Issue tags: -CSS +JavaScript, +Needs JS testing
droplet’s picture

Issue summary: View changes

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.