New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cursor jumping at the end after every editor update #132

Merged
merged 1 commit into from Oct 31, 2017

Conversation

Projects
None yet
2 participants
@slorber
Contributor

slorber commented Oct 31, 2017

Currently the cursor constantly jumps at the end everytime you press a key in the editor

My changes is supposed to prevent that

@slorber

This comment has been minimized.

Contributor

slorber commented Oct 31, 2017

using onBeforeChange may look "surprising" but it's what's in the demo:

image

@briandennis briandennis merged commit 4cfbb8f into dawnlabs:master Oct 31, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@briandennis

This comment has been minimized.

Member

briandennis commented Oct 31, 2017

@slorber awesome! Thanks so much for fixing this up, really appreciate it 😀

@slorber

This comment has been minimized.

Contributor

slorber commented Oct 31, 2017

thanks to you @briandennis , your project was very useful inspiration for something I just published on git: https://github.com/slorber/react-reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment