         on_blur: =>
             @state.focus_on_codemirror = false
             # We hide the description only if the user isn't selecting text from a description.
-            if @click_on_description is false
+            if @keep_suggestions_on_blur is false
                 @hide_suggestion_and_description()
 
         # We have to keep track of a lot of things because web-kit browsers handle the events keydown, keyup, blur etc... in a strange way.

            $(window).mouseup @handle_mouseup
            $(window).mousedown @handle_mousedown
            @id_execution = 0
            @click_on_description = false

            @render()


            'mousedown .suggestion_description': 'mouse_down_description'
            'click .suggestion_description': 'stop_propagation'
            'mouseup .suggestion_description': 'mouse_up_description'
            'mousedown .suggestion_full_container': 'mouse_down_description'
            'click .suggestion_full_container': 'stop_propagation'
            'mousedown .CodeMirror': 'mouse_down_description'
            'click .CodeMirror': 'stop_propagation'

        mouse_down_description: (event) =>
            @keep_suggestions_on_blur = true
            @stop_propagation event

        stop_propagation: (event) =>
            event.stopPropagation()

        mouse_up_description: (event) =>
            @keep_suggestions_on_blur = false
            @stop_propagation event

        start_resize_history: (event) =>
