     height = textInput.outerHeight()
 
     inputDimensions = { width, height, left : offset.left, top : offset.top }
-    @refs.dropbox?.updatePosition inputDimensions
+    @refs.dropbox.updatePosition inputDimensions
+    @refs.emojiSelectBox.updatePosition inputDimensions
 
 
   setValue: (value, skipChangeEvent) ->

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

      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.
