[GH-309] Prevent description duplication on Safari / macOS app (#366)
This removes a redundant manual blur of the input field. In the macOS app this caused the blur handler to be retriggered which resulted in the description being duplicated. Fixes: #309
This commit is contained in:
parent
2fb75a6462
commit
1d3820c3ce
1 changed files with 0 additions and 1 deletions
|
@ -128,7 +128,6 @@ const MarkdownEditor = (props: Props): JSX. Element => {
|
||||||
stateAndPropsRef.current.onBlur(newText)
|
stateAndPropsRef.current.onBlur(newText)
|
||||||
}
|
}
|
||||||
|
|
||||||
instance.getInputField()?.blur()
|
|
||||||
stateAndPropsRef.current.setIsEditing(false)
|
stateAndPropsRef.current.setIsEditing(false)
|
||||||
},
|
},
|
||||||
focus: () => {
|
focus: () => {
|
||||||
|
|
Loading…
Reference in a new issue