mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUACAMOLE-55: Clipboard element must be "position: fixed" to avoid unnecessary scrolling of the document.
This commit is contained in:
@@ -45,7 +45,7 @@ angular.module('client').factory('clipboardService', ['$injector',
|
|||||||
|
|
||||||
// Ensure textarea is selectable but not visible
|
// Ensure textarea is selectable but not visible
|
||||||
clipElement.appendChild(clipboardContent);
|
clipElement.appendChild(clipboardContent);
|
||||||
clipElement.style.position = 'absolute';
|
clipElement.style.position = 'fixed';
|
||||||
clipElement.style.width = '1px';
|
clipElement.style.width = '1px';
|
||||||
clipElement.style.height = '1px';
|
clipElement.style.height = '1px';
|
||||||
clipElement.style.left = '-1px';
|
clipElement.style.left = '-1px';
|
||||||
|
Reference in New Issue
Block a user