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

Incorrect Cursor Transform #1

Closed
curran opened this issue Jan 31, 2018 · 0 comments
Closed

Incorrect Cursor Transform #1

curran opened this issue Jan 31, 2018 · 0 comments
Assignees

Comments

@curran
Copy link
Member

curran commented Jan 31, 2018

The cursor is being transformed (moved to the left or right) incorrectly when the remote edit occurs on a line before the line where the cursor is. The transform should only occur if the cursor is on the same line as the remote edit.

To reproduce:

  • run the test project
  • enter lots of text on multiple lines
  • place your cursor on any line other than the first one (where 'd' is repeatedly being inserted each second)
  • observe that your cursor is transformed to the right in the CodeMirror instance (on the bottom)
  • observe that your cursor is not transformed to the right in the textarea instance (on the top)

Any ideas or help would be greatly appreciated!

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

No branches or pull requests

1 participant