Open rotembarsela opened 4 weeks ago
Thanks for raising this and your PR. We appreciate it when the community is actionable! 🙇🏼
I left comments on the PR, but will leave it to the team to approve! 👍🏼
What OS are you using? What are the properties values of event
when you press the copy shortcut?
What OS are you using? What are the properties values of
event
when you press the copy shortcut?
Checks has been done on the code before changes:
Tested that on Windows 11 and 10,
Keyboard layout: ENG/עבר,
Screenshot: (First is CTRL+C on ENG layout, second CTRL+C on HEB layout),
you can see that on the second attempt it is false instead of true, because it check the C key value, which is 'ב' on HEB layout
Example of an HEB Layout keyboard:
Steps to reproduce
Link to live example: (required) https://mui.com/x/react-data-grid/clipboard/
Steps:
Current behavior
English language localization - Copy&Paste work Changing to other Language (Computer) - Copy&Paste fail
Expected behavior
Copy&Paste work on all localizations
Context
No response
Your environment
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo
Search keywords: copy paste copy&paste keyboard cell cells x-data-grid-premium