GUACAMOLE-55: Clipboard element must be "position: fixed" to avoid unnecessary scrolling of the document.

This commit is contained in:
Michael Jumper committed 2016-06-26 20:44:56 -07:00
1 parent 0edc730308
commit 0c6383a082
1 file changed
+1 -1
@@ -45,7 +45,7 @@ angular.module('client').factory('clipboardService', ['$injector',
// Ensure textarea is selectable but not visible
clipElement.appendChild(clipboardContent);
clipElement.style.position = 'absolute';
clipElement.style.position = 'fixed';
clipElement.style.width = '1px';
clipElement.style.height = '1px';
clipElement.style.left = '-1px';