Closed sergeitoroptsev closed 11 months ago
Ok, got it:
The use of navigator.clipboard requires a secure origin. So if your dev environment is being served over HTTP, then the clipboard method won't be available.
According to MDN Clipboard docs.