Skip to content

Commit 886f285

Browse files
committed
Remove old setting dimensions
1 parent 00bdd28 commit 886f285

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/browser/input/CompositionHelper.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ export class CompositionHelper {
225225
// Ensure the text area is at least 1x1, otherwise certain IMEs may break
226226
this._textarea.style.width = Math.max(compositionViewBounds.width, 1) + 'px';
227227
this._textarea.style.height = Math.max(compositionViewBounds.height, 1) + 'px';
228-
this._textarea.style.width = compositionViewBounds.width + 'px';
229-
this._textarea.style.height = compositionViewBounds.height + 'px';
230228
this._textarea.style.lineHeight = compositionViewBounds.height + 'px';
231229
}
232230

0 commit comments

Comments
 (0)