vue-wiguet-chatweb 0.1.33 → 0.1.34

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-wiguet-chatweb",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -92,7 +92,7 @@
92
92
  class="message-send"
93
93
  @submit.prevent="
94
94
  (event) => {
95
- submitMessage();
95
+ submitMessage({ codigoTipoMensaje: MESSAGE_TYPE_CODES.IMAGEN});
96
96
  dialog.modelValue = false;
97
97
  }
98
98
  "
@@ -598,6 +598,10 @@ function onFileSelect() {
598
598
  currentDialogView.value = DIALOG_VIEWS.UPLOAD;
599
599
  dialog.title = 'Preparar imagen';
600
600
  dialog.modelValue = true;
601
+
602
+ nextTick(()=>{
603
+ textAreaRef.value?.focus()
604
+ })
601
605
  }
602
606
 
603
607
  // Dialog