mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:16:08 +08:00
UX: try select-kit autocomplete Chrome fix (#15752)
This commit is contained in:
parent
e1367cdea6
commit
30454b3f27
|
@ -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}}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user