Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
fix(Input): use Node.appendChild instead of Node.append
Browse files Browse the repository at this point in the history
  • Loading branch information
kylealwyn committed Sep 14, 2018
1 parent 53061fc commit 5dd1a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default class Input extends React.Component {
this.shadow = document.createElement('textarea');
this.shadow.style.position = 'absolute';
this.shadow.style.left = '-9000px';
document.body.append(this.shadow);
document.body.appendChild(this.shadow);
}

autogrow() {
Expand Down

0 comments on commit 5dd1a0d

Please sign in to comment.