title: Yii2: Kartik\editable\Editable close popover on blur or if clicked outside
body: <p>Using the EditableColumn widget along with text box popup and click on field and popup open. when I click outside any area of the page, the popup does not close</p>
  
  <pre><code>  return kartik\editable\Editable::widget ( [
              'name' =&gt; 'name' ,
              'size' =&gt; 'sm' ,
              'placement' =&gt; 'right' ,
              'containerOptions' =&gt; [] ,
              'contentOptions' =&gt; [] ,
              'inputType' =&gt; kartik\editable\Editable::INPUT_TEXT ,
              'value' =&gt; 1 ,
              'editableValueOptions' =&gt; [] ,
              'pluginEvents' =&gt; [
                  "editableSuccess" =&gt; "function(event, val, form, data) {
      $.pjax.reload({container: '#name'});
      }" ,
              ] ,
              'formOptions' =&gt; [
                  'method' =&gt; 'post' ,
                  'id' =&gt; 'form_name' ,
                  'action' =&gt; [ url ]
              ] ,
              'options' =&gt; [
                  'id' =&gt; 'form_name' ,
                  'pluginOptions' =&gt; [
                      'autoclose' =&gt; true
                  ] ,
                  'maxlength' =&gt; '10' ,
              ] ,
              'submitButton' =&gt; [
                  'class' =&gt; 'btn btn-sm btn-primary' ,
                  'icon' =&gt; '' ,
              ] ,
          ] );
  </code></pre>