Skip to content

Fails with new browsers (firefox/chrome) #522

@JohnBergman

Description

@JohnBergman

Minimal example

In a javascript

  //-- Is the clipboard supported?
  if(Clipboard.isSupported()) {
    $(".__ClipboardCopy").show();
  }
  else {
    $(".__ClipboardCopy").hide();
  }

  //-- Connect to any copy buttons...
  this.theClipboard = new Clipboard('.__ClipboardCopy');

In the html:

Expected behaviour

Clicking on the resulting link does not copy the text into the clipboard.

When I connect toe success event, I see the values all present correctly. regardless of the browser

Actual behaviour

It fails silently (meaning everything appears to work, however the text being copied never shows up in the clipboard.

Browsers affected

Doesnt work in Firefox 58.0.1 64 bit.
Doesnt work in Chrome Version 63.0.3239.132 (Official Build) (64-bit)

Works with Edge and IE.

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