jspreadsheet / jspreadsheet/ce

In version 4.4.1 , delete selected row has auto focus on first row and deletes the first row

Open
#1,183 6 comments 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.