material-react-table icon indicating copy to clipboard operation
material-react-table copied to clipboard

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

Open glebcha opened this issue 4 months ago • 0 comments

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

  • [x] 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.

glebcha avatar Sep 05 '25 14:09 glebcha