forked from github/plane
fix: fixed checklist scrolling on click (#3453)
This commit is contained in:
parent
e23e4bc392
commit
338d58f79d
@ -12,7 +12,7 @@ export const EditorContainer = ({ editor, editorClassNames, hideDragHandle, chil
|
|||||||
<div
|
<div
|
||||||
id="editor-container"
|
id="editor-container"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
editor?.chain().focus().run();
|
editor?.chain().focus(undefined, { scrollIntoView: false }).run();
|
||||||
}}
|
}}
|
||||||
onMouseLeave={() => {
|
onMouseLeave={() => {
|
||||||
hideDragHandle?.();
|
hideDragHandle?.();
|
||||||
|
Loading…
Reference in New Issue
Block a user