 $                    = require 'jquery'
 AutoSizeTextarea     = require 'app/components/common/autosizetextarea'
 DropboxContainer     = require 'activity/components/dropbox/dropboxcontainer'
+EmojiSelectBox       = require 'activity/components/emojiselectbox'
 ActivityFlux         = require 'activity/flux'
 ChatInputFlux        = require 'activity/flux/chatinput'
 KDReactorMixin       = require 'app/flux/base/reactormixin'

    height = textInput.outerHeight()

    inputDimensions = { width, height, left : offset.left, top : offset.top }
    @refs.dropbox?.updatePosition inputDimensions


  setValue: (value, skipChangeEvent) ->

      position   = helpers.getCursorPosition textInput
      ChatInputFlux.actions.dropbox.checkForQuery @stateId, @state.value, position, tokens

    @updateDropboxPositions()

    # This line actually is needed for the case
    # when value prop is set to state.
