Skip to content
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

Scroll to cursor function is too greedy #5

Open
rocketraman opened this issue Aug 19, 2015 · 0 comments
Open

Scroll to cursor function is too greedy #5

rocketraman opened this issue Aug 19, 2015 · 0 comments
Assignees
Labels

Comments

@rocketraman
Copy link
Contributor

When the editor is re-rendered (could be because a remote change was received, or for some other reason like a focus change), if the local editor has been scrolled via the scroll bar so that the local cursor is invisible, the rerender causes the local editor to modify the scroll position so that the local cursor is visible.

The automatic scroll behavior should only be enabled for cursor-based navigation or editing.

@rocketraman rocketraman changed the title Scroll to cursor function is too greedy for remote changes Scroll to cursor function is too greedy Aug 19, 2015
@rocketraman rocketraman self-assigned this Aug 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant