Skip to content

Commit

Permalink
Revert typer location
Browse files Browse the repository at this point in the history
  • Loading branch information
astralarya committed Jun 2, 2016
1 parent ef0f98f commit a932712
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/react-console.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,10 @@ export default class extends React.Component<ConsoleProps,ConsoleState> {
})
];
})}
{this.state.acceptInput?
<ConsolePrompt label={this.state.currLabel} value={this.state.promptText} column={this.state.column} />
: null
}
<div style={{ overflow: "hidden", height: 0 }}>
<textarea
ref={ref => this.child.typer = ref}
Expand All @@ -503,10 +507,6 @@ export default class extends React.Component<ConsoleProps,ConsoleState> {
onPaste={this.paste}
></textarea>
</div>
{this.state.acceptInput?
<ConsolePrompt label={this.state.currLabel} value={this.state.promptText} column={this.state.column} />
: null
}
</div>;
}
}

0 comments on commit a932712

Please sign in to comment.