This commit is contained in:
jeanp413
2020-07-09 20:35:01 -05:00
parent d85c80df95
commit 2b91bb83fa
3 changed files with 7 additions and 10 deletions
-1
View File
@@ -207,7 +207,6 @@ export class CompositionHelper {
// Sync the textarea to the exact position of the composition view so the IME knows where the
// text is.
const compositionViewBounds = this._compositionView.getBoundingClientRect();
this._textarea.style.position = 'absolute';
this._textarea.style.left = cursorLeft + 'px';
this._textarea.style.top = cursorTop + 'px';
this._textarea.style.width = compositionViewBounds.width + 'px';