-
-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Labels
Description
description
I want to copy text to the clipboard which comes from a delayed backend response. Now I tried many different ways to get the text into the clipboard but the command 'execCommand('copy') is not working in the ClipboardService. So I tried the basic functionality and everythings works fine. Then I added delays and when the delay is '2000' it is not able to set text into the clipboard anymore.
Now this hinders my implementation of a feature in our application.
AC
- the method 'copyFromContent' works when fired after a longer delay
code example
I created a plunker with the basis of the given demo. Please follow this link: https://plnkr.co/edit/PPbwSkngc2QQzCHhNDZg?p=preview