UX: try select-kit autocomplete Chrome fix (#15752)

This commit is contained in:
Penar Musaraj 2022-01-31 05:35:51 +01:00 committed by GitHub
parent e1367cdea6
commit 30454b3f27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,7 @@
tabindex=0
class="filter-input"
placeholder=placeholder
autocomplete="discourse"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
name="filter-input-search"
@ -14,6 +14,7 @@
paste=(action "onPaste")
keyDown=(action "onKeydown")
keyUp=(action "onKeyup")
type="search"
}}
{{#if selectKit.options.filterIcon}}

View File

@ -230,6 +230,14 @@ input {
}
}
input[type="search"] {
&::-webkit-search-cancel-button,
&::-webkit-search-decoration {
-webkit-appearance: none;
appearance: none;
}
}
// Fixes Safari height inconsistency
::-webkit-datetime-edit {
display: inline;