Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: チャットの絵文字ピッカーが正しく入力できないことがあるのを修正 #497

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

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

### Server
- Enhance: リモートユーザーの`/api/clips/show`と`/api/users/clips`の応答にemojisを追加 [#466](https://github.com/yojo-art/cherrypick/pull/466)
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/messaging/messaging-room.form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function saveDraft() {

drafts[draftKey.value] = {
updatedAt: new Date(),
// eslint-disable-next-line id-denylist
data: {
text: text.value,
file: file.value,
Expand All @@ -222,7 +222,7 @@ async function insertEmoji(ev: MouseEvent) {
emojiPicker.show(
ev.currentTarget ?? ev.target,
emoji => {
insertTextAtCursor(textEl.value, emoji);
text.value += emoji;
},
() => {
focus();
Expand Down
Loading