Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy does not work in Svelte, Paste does. #14

Open
michaelaboah opened this issue Dec 18, 2022 · 1 comment
Open

Copy does not work in Svelte, Paste does. #14

michaelaboah opened this issue Dec 18, 2022 · 1 comment

Comments

@michaelaboah
Copy link

There is an issue with Copying a range of values in the svelte-datagrid. useClipboard is enables and ctx[8] is set to true. However only the paste works and that is only by copying the values from the RevoGrid main demo. In the svelte demo codesandbox using cmd + c crashes the sandbox with a:

NoModificationAllowedError
Modifications are not allowed for this document

Sandbox: Reproduction

... Same code
<RevoGrid class="grid" on:beforeedit={onEdit} {source} useClipboard range resize="true" {columns} theme="material"/>

Outside of the Sandbox, no errors are thrown to console.

Dev System:
Environment
› OS: Mac OS 12.6.1 X64
› Node.js: 16.14.2
› npm: 8.5.0
› pnpm: 7.11.0
› VSCode
› WebViews: Firefox, Safari

Thank you

@rmoskal
Copy link

rmoskal commented Mar 10, 2023

I can confirm that this is the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants