Skip to content

Copy keyboard shortcut not work in Linux and use deprecated navigator.platform property #1465

@glebcha

Description

@glebcha

material-react-table version

v3.2.1

react & react-dom versions

v19.1

Describe the bug and the steps to reproduce it

Default "copy cell" shortcut Ctrl/Cmd+C not working as expected because missing Linux support in navigator.platform checking.

Also, this property was deprecated and is not recommended to use according to MDN.

Proposal is to exclude platform check from https://github.com/KevinVandy/material-react-table/blob/v3/packages/material-react-table/src/utils/cell.utils.ts#L87

Minimal, Reproducible Example - (Optional, but Recommended)

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions