GUACAMOLE-883: Allow guacTextInput directive to lose focus.

This commit is contained in:
Michael Jumper
2020-02-26 18:26:59 -08:00
parent 716b686f72
commit 844a2d97e3
8 changed files with 38 additions and 75 deletions

View File

@@ -19,7 +19,6 @@
.keyboard-container {
display: none;
text-align: center;
width: 100%;
@@ -33,7 +32,3 @@
z-index: 1;
}
.keyboard-container.open {
display: block;
}

View File

@@ -1,26 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
.text-input-container {
display: none;
}
.text-input-container.open {
display: block;
}

View File

@@ -22,12 +22,12 @@
<div class="client-bottom">
<!-- Text input -->
<div class="text-input-container" ng-class="{ open : showTextInput }">
<guac-text-input needs-focus="showTextInput"></guac-text-input>
<div class="text-input-container" ng-if="showTextInput">
<guac-text-input></guac-text-input>
</div>
<!-- On-screen keyboard -->
<div class="keyboard-container" ng-class="{ open : showOSK }">
<div class="keyboard-container" ng-if="showOSK">
<guac-osk layout="'CLIENT.URL_OSK_LAYOUT' | translate"></guac-osk>
</div>