 
       @el.css 'bottom', -remainerHeight
 
+      @el.find('.zammad-chat-input').autoGrow
+        extraLine: false
+
     disableInput: ->
       @el.find('.zammad-chat-input').prop('disabled', true)
       @el.find('.zammad-chat-send').prop('disabled', true)

            return if pipe.data.self_written
            @onAgentTypingStart()
          when 'chat_session_start'
            @onConnectionEstablished pipe.data.agent
            @sessionId = pipe.data.session_id
          when 'chat_session_queue'
            @onQueue pipe.data.position
            @sessionId = pipe.data.session_id
          when 'chat_session_closed'
            @onSessionClosed pipe.data
          when 'chat_session_left'

      @el.find('.zammad-chat-input').prop('disabled', false)
      @el.find('.zammad-chat-send').prop('disabled', false)

    onQueue: (data) =>
      @log 'notice', 'onQueue', data.position
      @inQueue = true
      @setSessionId data.session_id

      @el.find('.zammad-chat-body').html @view('waiting')
        position: data.position

    onAgentTypingStart: =>
      if @stopTypingId
