mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-19 22:55:29 +02:00
fix(frontend): mfmFunctionPickerを使用して挿入する際のハンドリングを改善 (#17018)
* fix(frontend): mfmFunctionPickerを使用して絵文字を挿入する際のハンドリングを改善 * fix * Update MkPostForm.vue * Update Changelog --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
@@ -654,6 +654,7 @@ export function popupMenu(items: (MenuItem | null)[], anchorElement?: HTMLElemen
|
||||
align?: string;
|
||||
width?: number;
|
||||
onClosing?: () => void;
|
||||
onClosed?: () => void;
|
||||
}): Promise<void> {
|
||||
if (!(anchorElement instanceof HTMLElement)) {
|
||||
anchorElement = null;
|
||||
@@ -672,6 +673,7 @@ export function popupMenu(items: (MenuItem | null)[], anchorElement?: HTMLElemen
|
||||
resolve();
|
||||
dispose();
|
||||
returnFocusTo = null;
|
||||
options?.onClosed?.();
|
||||
},
|
||||
closing: () => {
|
||||
options?.onClosing?.();
|
||||
|
||||
Reference in New Issue
Block a user