Open przemo20 opened 1 year ago
We appreciate your report. I was able to reproduce the issue by following the steps to reproduce. The code, even at the first attempt, does not get copied, as the previous entry remains (in my example, the URL from this report):
https://github.com/webcompat/web-bugs/assets/75027050/1be8ea5c-bd78-412b-bd03-81b61ce7fcae
Tested with:
Browser / Version: Firefox Release 118.0.2 (64-bit)/ Firefox Nightly 120.0a1 (2023-10-17) (64-bit) /Chrome Version 118.0.5993.71 (Official Build) (64-bit) /M Operating System: Windows 10 PRO x64
Notes:
Moving this to NeedsDiagnosis for further investigations.
[qa_42/2023]
This code is run when you try to copy:
i.append(n), n.css("text-transform", "initial").attr("contenteditable", !0).html(a.html()).select().on("focus", (function() {
document.execCommand("selectAll", !1, null)
})).focus(), document.execCommand("copy"), n.remove(), i.html("<strong>Copied!</strong>"),
That approach to copying may simply not work on all browsers, because they have different criteria for allowing execCommand(copy)
. It's plausible this is the same as bug 1634273.
URL: https://www.sqlbi.com/blog/marco/2018/06/24/correct-calculate-of-age-in-dax-from-birthday/
Browser / Version: Firefox 118.0 Operating System: Windows 10 Tested Another Browser: Yes Chrome
Problem type: Something else Description: The Copy button works only one time on Firefox Steps to Reproduce: Example steps to reproduce:
Browser Configuration
From webcompat.com with ❤️