Skip to content

Commit 51b1e46

Browse files
authored
Fix: チャットの絵文字ピッカーが正しく入力できないことがあるのを修正 (kokonect-link#497)
1 parent b63166a commit 51b1e46

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG_YOJO.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Cherrypick 4.11.1
2929
- Fix: リモートから添付されてきたクリップURLにホスト情報があると二重になる不具合を修正 [#460](https://github.com/yojo-art/cherrypick/pull/460)
3030
- Fix: リモートクリップ説明文がローカル仕様になってる問題の修正 [#466](https://github.com/yojo-art/cherrypick/pull/466)
3131
- Fix: ユーザー概要の「ファイル」の挙動を通常の添付ファイルに合わせる [#472](https://github.com/yojo-art/cherrypick/pull/472)
32+
- Fix: チャットの絵文字ピッカーが正しく入力できないことがあるのを修正
3233

3334
### Server
3435
- Enhance: リモートユーザーの`/api/clips/show``/api/users/clips`の応答にemojisを追加 [#466](https://github.com/yojo-art/cherrypick/pull/466)

packages/frontend/src/pages/messaging/messaging-room.form.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function saveDraft() {
200200
201201
drafts[draftKey.value] = {
202202
updatedAt: new Date(),
203-
// eslint-disable-next-line id-denylist
203+
204204
data: {
205205
text: text.value,
206206
file: file.value,
@@ -222,7 +222,7 @@ async function insertEmoji(ev: MouseEvent) {
222222
emojiPicker.show(
223223
ev.currentTarget ?? ev.target,
224224
emoji => {
225-
insertTextAtCursor(textEl.value, emoji);
225+
text.value += emoji;
226226
},
227227
() => {
228228
focus();

0 commit comments

Comments
 (0)