LiskArchive / lisk-ui

🖥️ Lisk user-interface submodule
https://lisk.io/
GNU General Public License v3.0
24 stars 35 forks source link

Copy-to-clipboard button not working #47

Closed marijnbent closed 8 years ago

marijnbent commented 8 years ago

When clicking the button to copy a transaction or block id, nothing happens. At least on a Macbook.

schermafbeelding 2016-05-19 om 12 43 02
mrv777 commented 8 years ago

Do you have Adobe flash blocked? I believe it uses ZeroClipboard.swf to work

karmacoma commented 8 years ago

We could switch to using this: https://clipboardjs.com/. Would be good to remove use of flash completely. But I see there is no or limited support for Safari.

mrv777 commented 8 years ago

^^^I would switch to clipboardjs for now at least. Get rid of any Flash code in there. There is a workaround at the bottom I see for Safari, that will at least easily allow a tooltip message to appear on Safari, while still selecting the text

marijnbent commented 8 years ago

JS would be indeed better. The weird thing is, the clipboard button on the lisk explorer does work, which works using flash.