Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fixes #4643 - Focus text input on color change
Browse files Browse the repository at this point in the history
  • Loading branch information
punamdahiya committed Jul 16, 2018
1 parent b33c7fc commit e13acf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/pages/shot/text-tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ exports.TextTool = class TextTool extends React.Component {

setColor(color, colorName) {
this.setState({color, colorName});
this.textInput.current.focus();
}

onClickConfirm(e) {
Expand Down

0 comments on commit e13acf9

Please # to comment.