Przeglądaj źródła

fix: prompt editor variable picker (#3177)

tags/0.6.0-fix1
zxhlyh 1 rok temu
rodzic
commit
b7691f5658
No account linked to committer's email address

+ 1
- 1
web/app/components/base/prompt-editor/plugins/on-blur-or-focus-block.tsx Wyświetl plik

() => { () => {
ref.current = setTimeout(() => { ref.current = setTimeout(() => {
editor.dispatchCommand(KEY_ESCAPE_COMMAND, new KeyboardEvent('keydown', { key: 'Escape' })) editor.dispatchCommand(KEY_ESCAPE_COMMAND, new KeyboardEvent('keydown', { key: 'Escape' }))
}, 100)
}, 200)


if (onBlur) if (onBlur)
onBlur() onBlur()

Ładowanie…
Anuluj
Zapisz