fix: fixed checklist scrolling on click (#3453)
This commit is contained in:
parent
e23e4bc392
commit
338d58f79d
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ export const EditorContainer = ({ editor, editorClassNames, hideDragHandle, chil
|
|||
<div
|
||||
id="editor-container"
|
||||
onClick={() => {
|
||||
editor?.chain().focus().run();
|
||||
editor?.chain().focus(undefined, { scrollIntoView: false }).run();
|
||||
}}
|
||||
onMouseLeave={() => {
|
||||
hideDragHandle?.();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue