support
support copied to clipboard
Copy paste keyboard shortcuts do not work with Salesforce Locker
Hi,
We have discovered an issue with the keyboard shortcuts for cut/copy/paste (ctrl + c, ctrl + x, ctrl + v) with Salesforce locker (Lightning Web Security turned OFF).
Select a row Ctrl + C (this seems to work ok) Ctrl + V (this throws an error - see details below)
Select a row Ctrl + X (this throws an error too)
None of these error when LWS is turned on.
It appears that there is a check in paste() which compares referenceRecord to KeyboardEvent. This check is evaluating to false when I believe it should be true.
Thanks,
Josh