Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Editor moves document to last position of block when in big block of text and hitting enter #1110

Closed
markpradhan opened this issue Mar 31, 2017 · 2 comments

Comments

@markpradhan
Copy link

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Document moves to end of textblock.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.

  • paste big block of text
  • hit enter anywhere
  • document will move to end of block instead of staying put

What is the expected behavior?
Staying put.

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Error also is reproducible in the demo editor on draft-js.org

@michelson
Copy link

this is a dupe of #304 , please check this issue 🙏
best regards

@markpradhan
Copy link
Author

@michelson thx! closed!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants