diff --git a/src/components/ActionControls/ActionControls.js b/src/components/ActionControls/ActionControls.js index a9283d47a..2141c275e 100644 --- a/src/components/ActionControls/ActionControls.js +++ b/src/components/ActionControls/ActionControls.js @@ -64,11 +64,13 @@ class ActionControls extends React.Component { onCreate = ({ text }: { text: string }) => { const { onCreate, type } = this.props; onCreate(type, text); + this.setState({ isInputOpen: false }); }; onDelete = (event: Event) => { event.stopPropagation(); event.preventDefault(); + this.setState({ isInputOpen: false }); const { onDelete, id } = this.props; onDelete({ id });