   componentDidUpdate: ->
 
     @setState editMode: @props.message.get '__isEditing'
+    @focusInputOnEdit()
 
 
   getAccountInfo: ->

    @setState isDeleting: no


  editPost: ->

    messageId = @props.message.get '_id'

    ActivityFlux.actions.message.setMessageEditMode messageId

    domNode = @refs.EditMessageTextarea.getDOMNode()
    kd.utils.wait 100, ->
      kd.utils.moveCaretToEnd domNode


  showDeletePostPromptModal: ->

    isMarkUserAsTrollModalVisible : no
    showItemMenu                  : yes

  constructor: (props) ->

    super props
