Skip to content

Commit

Permalink
fix: prompt editor variable picker (langgenius#3177)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh authored Apr 8, 2024
1 parent 1382f10 commit b7691f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b7691f5

Please sign in to comment.