jspreadsheet / jspreadsheet/ce
In version 4.4.1 , delete selected row has auto focus on first row and deletes the first row
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 890
- PR merge metrics
- No merged PRs in 30d
Description
when i dragged the mouse to row 4,5 right clicked on the mouse and it always has auto focus on the first column and clicked on delete selected row always deletes the first row
https://codesandbox.io/s/jexcel-and-react-forked-h7le6?file=/src/index.js
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
Start by reproducing the selection and context-menu behavior in the linked CodeSandbox, especially src/index.js, using version 4.4.1. Trace how the selected rows and focused row are determined when Delete selected row is clicked. Done means deleting rows 4 and 5 removes those selected rows rather than the first row.
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
- Needs clarification
- Newbie friendliness
- 25/100