Blur activated after focus on stock Android browser
roady001 opened this issue · comments
There was in issue where doubletap did create an editable field, but immediately was followed with the blur event which converted the edit field back into a normal cell. This issue only happens in the stock Android browser. I could not reproduce in Chrome (Android) or Safari (iOS).
I fixed the problem in Ext.ux.touch.grid/feature/Editable.js by not attaching the blur event untill after the focus has happened:
// OLD CODE // editor.field.on({ scope: this, focus: 'onFieldBlur' }); editor.field.on({ scope: this, blur: 'onFieldBlur' }); // \OLD CODE // // NEW CODE// editor.field.on({ scope: this, focus: function () { editor.field.on({ scope: this, blur: 'onFieldBlur' }); } }); // \NEW CODE //