mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #2158 from overleaf/pr-fix-autocomplete-opens-for-collaborators
Ignore remote changes for autocompletion purposes. GitOrigin-RevId: df0541f1f7cb8527263988f60ca5b80510f8971e
This commit is contained in:
parent
111d22d260
commit
e5e28c7fb1
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ define([
|
||||||
// NOTE: this is also the case when a user backspaces over a highlighted
|
// NOTE: this is also the case when a user backspaces over a highlighted
|
||||||
// region
|
// region
|
||||||
if (
|
if (
|
||||||
|
!change.remote &&
|
||||||
change.action === 'insert' &&
|
change.action === 'insert' &&
|
||||||
end.row === cursorPosition.row &&
|
end.row === cursorPosition.row &&
|
||||||
end.column === cursorPosition.column + 1
|
end.column === cursorPosition.column + 1
|
||||||
|
|
Loading…
Reference in a new issue