mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-1480: Unfocus clipboard DOM element to avoid mobile keyboard popping up.
This commit is contained in:
@@ -91,6 +91,9 @@ angular.module('client').factory('clipboardService', ['$injector',
|
||||
else
|
||||
deferred.reject();
|
||||
|
||||
// Unfocus the clipboard DOM event to avoid mobile keyboard opening
|
||||
clipboardContent.blur();
|
||||
|
||||
return deferred.promise;
|
||||
};
|
||||
|
||||
@@ -121,6 +124,9 @@ angular.module('client').factory('clipboardService', ['$injector',
|
||||
else
|
||||
deferred.reject();
|
||||
|
||||
// Unfocus the clipboard DOM event to avoid mobile keyboard opening
|
||||
clipboardContent.blur();
|
||||
|
||||
}, 100);
|
||||
|
||||
return deferred.promise;
|
||||
|
Reference in New Issue
Block a user