Open Kita2345 opened 2 years ago
Sounds like an issue with WebView. See: https://stackoverflow.com/questions/61429649/copy-to-clipboard-using-navigator-clipboard-writetext-not-working-in-android-web https://stackoverflow.com/questions/61429649/copy-to-clipboard-using-navigator-clipboard-writetext-not-working-in-android-web https://chromium.googlesource.com/chromium/src/+/refs/heads/master/android_webview/browser/aw_permission_manager.cc#:~:text=case%20PermissionType::CLIPBOARD_READ_WRITE:
I'm afraid there is no easy soluition other than getting this fixed in WebView. This issue should be reported to the Chromium project really.
Copy to clipboard option on any website that uses JavaScript's
navigator.clipboard.writeText
doesn't work. Case 1: GitHub pageGo to https://github.com/Akianonymus/gdrive-downloader#basic-method and https://github.com/bezzad/Downloader#how-to-use Use the copy button to copy the code block Doesn't respond as Copied and the text is also not copied Case 2: website
Go to https://compro-prasad.gitlab.io Use the
#
symbol beside any of the headers Copied message is shown but the link doesn't get copied