Skip to content

Commit e05df07

Browse files
committed
Fix editor scrolling in the wrong position when breaking a big block
See facebookarchive/draft-js#304 (comment).
1 parent 537ea49 commit e05df07

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/components/DraftailEditor.scss

+6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
}
2424
}
2525

26+
// Fix editor scrolling in the wrong position when breaking a big block.
27+
// See https://github.com/facebook/draft-js/issues/304#issuecomment-327606596.
28+
.DraftEditor-root {
29+
overflow: auto;
30+
}
31+
2632
.public-DraftEditor-content,
2733
.public-DraftEditorPlaceholder-root {
2834
padding: $editor-spacing;

0 commit comments

Comments
 (0)