Skip to content

document.execCommand(‘cut’/‘copy’) was denied because it was not called from inside a short running user-generated event handler #249

@ghost

Description

When using Firefox 68.10.0esr (64-Bit) Version and trying to copy a value to the clipboard the console shows the following error message:

document.execCommand(‘cut’/‘copy’) was denied because it was not called from inside a short running user-generated event handler.

We use Angular v6 and ngx-clipboard v10.

We would be very happy if someone could give us a hint why this happens and how we could avoid this issue.

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