UX: makes emoji picker case insensitive (#10655)
This commit is contained in:
parent
033cebf978
commit
07d7adb8b4
|
@ -220,7 +220,9 @@ export default Component.extend({
|
|||
results.innerHTML = "";
|
||||
|
||||
if (event.target.value) {
|
||||
results.innerHTML = emojiSearch(event.target.value, { maxResults: 10 })
|
||||
results.innerHTML = emojiSearch(event.target.value.toLowerCase(), {
|
||||
maxResults: 10,
|
||||
})
|
||||
.map(this._replaceEmoji)
|
||||
.join("");
|
||||
|
||||
|
|
Loading…
Reference in New Issue