jspreadsheet / jspreadsheet/ce
Incorrect column resizing while multiple columns are selected
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 890
- PR merge metrics
- No merged PRs in 30d
Description
For example, I click on the heading of column A and drag the mouse to the heading of column C. After that, I am trying to resize a column in a non-selected area, for example by resizing column F to 200 pixels, and all the selected columns (A-C) and column F have changed their width by 200 pixels, which is an incorrect result. Fully selected columns should change their width in the same way, only if I try to resize the column inside the selected range. Also function onresizecolumn returning array of selected columns [a-c] instead of column f which was an aim of resizing. So my question is there any tips to fix this moment?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by selecting columns A-C, then resizing column F, and inspect the column-selection and resize handling around the onresizecolumn callback. The fix is complete when resizing outside the selected range changes only the targeted column and onresizecolumn reports column F rather than A-C.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100