We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef24209 commit 213e907Copy full SHA for 213e907
packages/rocketchat-ui-message/client/messageBox.js
@@ -251,6 +251,14 @@ Template.messageBox.events({
251
'focus .input-message'(event, instance) {
252
KonchatNotification.removeRoomNotification(this._id);
253
chatMessages[this._id].input = instance.find('.input-message');
254
+ // Created by Vignesh on 22/08/2017
255
+ if ($('.input-message').val() !== ''){
256
+ chatMessages[this._id].input.updateAutogrow();
257
+ console.log($('.input-message').val());
258
+ console.log('Text >filled');
259
+ instance.isMessageFieldEmpty.set(false);
260
+ }
261
+ // End of creation by Vignesh on 22/08/2017
262
},
263
'click .send-button'(event, instance) {
264
const input = instance.find('.input-message');
0 commit comments