 
   _clearAndBlur: =>
     @_onClearSearch()
-    @refs.searchInput?.findDOMNode().blur()
+    React.findDOMNode(@refs.searchInput)?.blur()
 
   _onFocus: =>
     @setState focused: true

{Menu, RetinaImg} = require 'ui-components'
SearchSuggestionStore = require './search-suggestion-store'
_ = require 'underscore-plus'

class SearchBar extends React.Component
  @displayName = 'SearchBar'

    # handle the touch event, then dismiss the menu.
    setTimeout =>
      Actions.searchBlurred()
      @setState(focused: false)
    , 150

  _doSearch: =>
