Skip to content

Keyboard copy event problem #507

@arasovic

Description

@arasovic

Describe the bug
After updating to the latest version of Google Chrome, the ability to multi-select and copy (CMD + C) multiple rows and columns is no longer working. It also occurs in Microsoft Edge on a Windows machine. It seems that keyboard events are not functioning properly in the new Chrome version.

Steps to Reproduce:

  1. Select multiple rows and columns within a table or spreadsheet-like interface.
  2. Attempt to use the CMD + C keyboard shortcut to copy the selected data.
  3. Notice that the copy functionality does not work as expected.
    I’ve attached a GIF below that demonstrates the issue.

Please investigate.

Current behavior
CMD + C is not copying

Expected behavior
CMD + C can can copyable and this used to happen

Screenshots or gifs

Image

Your environment details

  • Device: Desktop / Mac
  • OS: MacOS
  • Browser: Chrome Version 134.0.6998.45 (Official Build) (arm64)
  • "@silevis/reactgrid": "^4.1.15",

maybe instead of “document.execCommand(‘copy’)”
we could use something like “navigator.clipboard.writeText(text_to_copy)”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions