jquery / jquery/jquery-ui

Sortable / Hidden cols in table / Table resized

Open
#1,989 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Behavior shared with 1.12
Dominant language
JavaScript
Stars
11.3k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

I use sortable in a HTML table.
Everithing was quite great until I put some hidden cols in the table.
In this case, the table shrinks when I try to move a row.
I made a jsFiddle to reproduce the problem :
https://jsfiddle.net/bdesprez_thalassa/eoxdtjn1/10/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked jsFiddle and reproduce the table resize when sortable rows are moved with hidden columns. Trace the sortable table behavior responsible for shrinking, then verify that moving rows preserves the table size despite hidden columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.