Skip to content

DevTools copy operations don't work in Firefox #17652

Closed
@bvaughn

Description

@bvaughn

Attempting to copy a prop using the new context menu (#17608) prints the following error for Firefox:

Error: Unable to copy. Perhaps it's not available in your browser?

Firefox itself does support document.execCommand('copy') if it's within the context of an event handler, but it looks like this does not include events that originated within an extension.

Looks like this was also an issue for DevTools v3: facebook/react-devtools#843

Under the hood we are using clipboard-js for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions