diff --git a/guacamole/src/main/webapp/app/client/services/clipboardService.js b/guacamole/src/main/webapp/app/client/services/clipboardService.js index 801377177..c0ff6f789 100644 --- a/guacamole/src/main/webapp/app/client/services/clipboardService.js +++ b/guacamole/src/main/webapp/app/client/services/clipboardService.js @@ -57,8 +57,10 @@ angular.module('client').factory('clipboardService', ['$injector', clipElement.appendChild(clipboardContent); clipElement.style.position = 'absolute'; - clipElement.style.width = '0px'; - clipElement.style.height = '0px'; + clipElement.style.width = '1px'; + clipElement.style.height = '1px'; + clipElement.style.left = '-1px'; + clipElement.style.top = '-1px'; clipElement.style.overflow = 'hidden'; document.body.appendChild(clipElement);