[FIX] mail: add mention no set focus on subject
In the extended composer, we focus on subject when adding a mention in the body. Focusing in subject is wanted at the opening of the composer, but not when adding a mention. opw-1911566 closes #28910
This commit is contained in:
@@ -416,7 +416,7 @@ var MentionManager = Widget.extend({
|
||||
this._composer.$input.val(textInputNew);
|
||||
this._setCursorPosition(textLeft.length+substitution.length+2);
|
||||
this.set('mention_suggestions', []);
|
||||
this._composer.focus(); // to trigger autoresize
|
||||
this._composer.focus('body'); // to trigger autoresize
|
||||
},
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user