Description
Describe the bug
Share > Copy link is broken in Safari. When you try to copy a link, you hear a sound and see a popup which says Copied, but nothing is copied into the clipboard.
To Reproduce
Steps to reproduce the behavior:
- Go to
Discover
- Click on
Share
>Copy link
Expected behavior
Copy link
should work in Safari.
OpenSearch Version
1.3.2
2.0.0
Dashboards Version
1.3.2
2.0.0
Plugins
Default from the corresponding official Docker images
Host/Environment (please complete the following information):
- OS: macOS Catalina 10.15.7
- Safari 15.5 (15613.2.7.1.9, 15613)
Additional context
In Google Chrome 102.0.5005.61
it works without issues.
In Firefox 101.0
it works without issues.
No logs in the Safari Developer Tools > Console, besides the two probably unrelated, which appear on page reload
[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (discover, line 352)
[Log] ^ A single error about an inline script not firing due to content security policy is expected! (bootstrap.js, line 43)
Related to #689.