burner-wallet / burner-wallet-2

A modular, extendable Burner Wallet
MIT License
88 stars 39 forks source link

"Copy PK" does not work in Safari #4

Open PaulRBerg opened 4 years ago

PaulRBerg commented 4 years ago

Current Behavior

In Safari, on both desktop and mobile, the burner private key is not copied in clipboard when going to "Advanced" and then tapping "Copy PK".

Expected Behavior

The burner private key should be copied in clipboard.

Environment

I used sablier.burnerfactory.com in Brave, Chrome and Firefox, and the "Copy PK" button worked. In Safari, on desktop and mobile, it did not.

dmihal commented 4 years ago

Looks like Safari handles copying differently than other browsers, all copying functions should be updated to support iOS.

Ref: https://stackoverflow.com/questions/40147676/javascript-copy-to-clipboard-on-safari