Skip to content

Commit

Permalink
Déjà vu
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 committed Aug 21, 2017
1 parent 4d53823 commit 53d8c37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/ui/autocompletion/autocompleting-text-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export abstract class AutocompletingTextInput<
const element = this.element!
let coordinates = getCaretCoordinates(element, state.range.start)
coordinates = {
...coordinates,
top: coordinates.top - element.scrollTop,
left: coordinates.left - element.scrollLeft,
}
Expand Down

0 comments on commit 53d8c37

Please sign in to comment.