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

[bug] Clipboard copy does not work within safe app #2294

Open
1 task done
deHB6 opened this issue Jan 16, 2025 · 1 comment
Open
1 task done

[bug] Clipboard copy does not work within safe app #2294

deHB6 opened this issue Jan 16, 2025 · 1 comment

Comments

@deHB6
Copy link

deHB6 commented Jan 16, 2025

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

2.2.1

wagmi Version

2.14.6

Current Behavior

When using application within a Safe app (iframe within app.safe.global using safe wallet connector), copying an address does not work and throws an error.

Image Image

NotAllowedError: Failed to execute 'writeText' on 'Clipboard': The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://goo.gl/EuHzyv for more details.

Expected Behavior

Address is copied and no errors thrown

Steps To Reproduce

Go to app.safe.global -> Apps -> add custom app -> https://app.ethena.fi -> select wallet top right (rainbowkit account modal) -> click copy address

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

Copy link

linear bot commented Jan 16, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant