Happy-Coding-Clans / Happy-Coding-Clans/vue-easytable

[Bug Report] Copy Paste Row from Keyboard on Mac Fills Single Cell

Open
#507 3 comments 0 reactions 0 assignees View on GitHub
🐞 bug
Dominant language
JavaScript
Stars
3.8k
Forks
771
PR merge metrics
No merged PRs in 30d

Description

### I am opening an issue for
vue-easytable

### Issue Type
Bug

### Issue Title
Copy Paste Row from Keyboard on Mac Fills Single Cell

### library Version
v2.20.1

### Vue Type
2.7.10

### Browser Type
Firefox 104.0.2

### System version
macOS Monterey 12.4

### Reproduction url
https://codesandbox.io/s/muddy-fast-5wgz56?file=/Example.vue

### Step to reproduce
1. Right click on row 1 to bring up context menu and select `Insert Row Below`.

2. Right click again on row 1 to bring up context menu and select `Copy`.

3. Click on row 2 (newly created empty row) to highlight entire row and hit the Command V keyboard combination to `Paste` copied row.

Contents get copied into the first cell of row 2 instead of in each of their respective cells. If I paste via the browser Menu Edit -> Paste then it works as expected.

### What is expected?
I would expect the row that I copied to be copied into the new row exactly as it appears.

### What is actually happening?
All the items in row 1 get filled into the first cell of row 2.

### Any additional comments? (optional)
Not sure if this is expected behavior and related to using a Mac. Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.