 
     toggleOpenness: () ->
         if @state.grid_focus != null
-            grid_focus = Utils.clone @state.grid_focus
+            grid_focus = @collapseGridFocus @state.grid_focus
             grid_focus.field_open = "none"
             @setState { grid_focus: grid_focus }
             row = grid_focus.focus.row

            grid_focus.focus.row = row
            grid_focus.focus.col = col
            grid_focus.is_across = true
        this.setState { grid_focus: grid_focus }

    blur: () ->
        @setState { grid_focus: null }

                grid_focus.focus.col += 1
            else if (not grid_focus.is_across) and grid_focus.focus.row < @height() - 1
                grid_focus.focus.row += 1
        @setState { grid_focus: @collapseGridFocus grid_focus }

    deleteLetter: (keyCode) ->
        grid_focus = Utils.clone @state.grid_focus
