React Spreadsheet Adds Extra Row on Paste #426
ndegwamoche
started this conversation in
General
Replies: 1 comment
-
SOLVEDUpdated the handlePaste
TO
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Pasting data from Excel into
react-spreadsheet
adds an extra empty row.Description
In the
BiddingExcel
component, pasting Excel data into editable columns (Bid Qty, Bid Price, Comments) results in an additional empty row being appended to the spreadsheet. The issue stems fromreact-spreadsheet
's paste event handling.Steps to Reproduce
BiddingExcel
spreadsheet.Expected Behavior
Pasted data updates only the intended rows/columns without extra rows.
Actual Behavior
An empty row is appended after pasting.
Relevant Code
Paste handler in
BiddingExcel
:Notes
Despite trimming newlines and empty values,
react-spreadsheet
adds an extra row, indicating a library-level issue.Priority
Medium
Assignee
Frontend Team
Labels
Beta Was this translation helpful? Give feedback.
All reactions