vue-clipboard2
vue-clipboard2 copied to clipboard
Internet Explorer 11 - onCopy fires but nothing is copied to clipboard
Hi,
https://clipboardjs.com/ suggests that IE 9+ should work.
I am testing in IE 11.
Console logging the event does show the 'text' is there, however nothing makes it to the clipboard. The same code works in Google Chrome on the same device.
Are there any additional steps/configurations I'm missing to get it to work in IE?
I'm am including Vue, and vue-clipboard like so:
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
<script src="https://unpkg.com/vuex"></script>
<script src="js/vue-clipboard.min.js"></script>
I'm assuming this could be a security setting, however I don't have access to change them (group settings)
@potatowave I just found that legacy IE does not have Promise API, so you should load promise-polyfill.