Circumventing autofill by using a textarea rather than an input type=text

pull/2110/head
wmwragg 2016-09-06 16:15:36 +01:00
parent 1fb53565ef
commit e3d5ca34c8
1 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
/* Using a textarea for this element, to circumvent autofill */
.mx_ChatInviteDialog_input,
.mx_ChatInviteDialog_input:focus {
line-height: 34px;
@ -22,6 +23,13 @@ limitations under the License.
padding-right: 12px;
margin: 0 !important;
border: 0 !important;
outline: 0 !important;
width: 1000%; /* Pretend that this is an "input type=text" */
resize: none;
overflow: hidden;
vertical-align: middle;
box-sizing: border-box;
word-wrap: nowrap;
}
.mx_ChatInviteDialog_inputContainer {
@ -31,6 +39,7 @@ limitations under the License.
padding-left: 4px;
padding-right: 4px;
padding-top: 2px;
overflow: hidden;
}
.mx_ChatInviteDialog_queryList {