Skip to content

Commit

Permalink
fix: try to prevent autocomplete for emoji search (misskey-dev#8798)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann150 authored Jun 8, 2022
1 parent 0fa2a52 commit 4800dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/components/emoji-picker.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="omfetrab" :class="['s' + size, 'w' + width, 'h' + height, { asDrawer }]" :style="{ maxHeight: maxHeight ? maxHeight + 'px' : undefined }">
<input ref="search" v-model.trim="q" class="search" data-prevent-emoji-insert :class="{ filled: q != null && q != '' }" :placeholder="i18n.ts.search" @paste.stop="paste" @keyup.enter="done()">
<input ref="search" v-model.trim="q" class="search" data-prevent-emoji-insert :class="{ filled: q != null && q != '' }" :placeholder="i18n.ts.search" type="search" @paste.stop="paste" @keyup.enter="done()">
<div ref="emojis" class="emojis">
<section class="result">
<div v-if="searchResultCustom.length > 0">
Expand Down

0 comments on commit 4800dd0

Please sign in to comment.