Kaynağa Gözat

fix: prompt editor variable picker (#3177)

tags/0.6.0-fix1
zxhlyh 1 yıl önce
ebeveyn
işleme
b7691f5658
No account linked to committer's email address

+ 1
- 1
web/app/components/base/prompt-editor/plugins/on-blur-or-focus-block.tsx Dosyayı Görüntüle

@@ -40,7 +40,7 @@ const OnBlurBlock: FC<OnBlurBlockProps> = ({
() => {
ref.current = setTimeout(() => {
editor.dispatchCommand(KEY_ESCAPE_COMMAND, new KeyboardEvent('keydown', { key: 'Escape' }))
}, 100)
}, 200)

if (onBlur)
onBlur()

Loading…
İptal
Kaydet