Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript error in Copy of Clipboard from Contract Box #65

Closed
cointastical opened this issue Mar 6, 2022 · 3 comments
Closed

Javascript error in Copy of Clipboard from Contract Box #65

cointastical opened this issue Mar 6, 2022 · 3 comments
Labels
needs research More knowledge is needed in this issue

Comments

@cointastical
Copy link

cointastical commented Mar 6, 2022

In trying to pay the committment trx to PUBLISH my order, when I see the Contract Box, with the QR code, I then tried to press Copy To Clipboard

Expected behavior:
That the LN Invoice would be copied to my clipboard

Actual behavior:
No change to my clipboard.

In showing the Javascript console, I see:

react-dom.production.min.js:101 Uncaught TypeError: Cannot read properties of undefined 
(reading 'writeText')
    at onClick (TradeBox.js:213:31)
    at Object.Rb (react-dom.production.min.js:52:317)
    at Xb (react-dom.production.min.js:52:471)
    at Yb (react-dom.production.min.js:53:35)
    at Ze (react-dom.production.min.js:100:68)
    at se (react-dom.production.min.js:101:380)
    at eval (react-dom.production.min.js:113:65)
    at Jb (react-dom.production.min.js:292:189)
    at Nb (react-dom.production.min.js:50:57)
    at jd (react-dom.production.min.js:105:469)
@cointastical
Copy link
Author

cointastical commented Mar 6, 2022

This is occurring using Brave Browser
Version 1.36.109 Chromium: 99.0.4844.51 (Official Build) (64-bit)

@Reckless-Satoshi
Copy link
Collaborator

Hey @cointastical ,

Thanks for opening this issue.

The clipboard not working issue only happens in Brave's "Private window with Tor". Seems like some functions are disabled in Brave with Tor, probably this is a Brave privacy protecting feature and there does not seem to be many ways around it. I have not found any related discussion online about this issue with Brave.

Any other torified browser or Brave when not used with Tor (this can only be tested when using the development platform) works just fine. Meaning, the issue is probably Brave. Tor Browser is strongly recommended to use with RoboSats.

@Reckless-Satoshi Reckless-Satoshi added the needs research More knowledge is needed in this issue label Mar 10, 2022
@Reckless-Satoshi
Copy link
Collaborator

Confirmed as a Tor Browser w/ Tor issue. It just won't copy with the button. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs research More knowledge is needed in this issue
Projects
None yet
Development

No branches or pull requests

2 participants