@bcc-code/vue-bcc-chat-ui 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70633,6 +70633,7 @@ const pI = oe([]), XFe = async (e) => (Nu[e] || (Nu[e] = await X.CometChat.getGr
70633
70633
  }
70634
70634
  });
70635
70635
  d.value = new Ce.MessageListConfiguration({
70636
+ scrollToBottomOnNewMessages: !0,
70636
70637
  templates: M
70637
70638
  });
70638
70639
  };
@@ -70640,6 +70641,7 @@ const pI = oe([]), XFe = async (e) => (Nu[e] || (Nu[e] = await X.CometChat.getGr
70640
70641
  o.value ? (w(), gt(Eve(zl), {
70641
70642
  key: 0,
70642
70643
  hideMessageHeader: !0,
70644
+ disableSoundForMessages: !0,
70643
70645
  messageComposerConfiguration: u.value,
70644
70646
  messageListConfiguration: d.value,
70645
70647
  hideMessageComposer: !1,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@bcc-code/vue-bcc-chat-ui",
3
3
  "author": "bcc-code",
4
4
  "license": "Apache-2.0",
5
- "version": "1.2.1",
5
+ "version": "1.2.2",
6
6
  "type": "module",
7
7
  "private": false,
8
8
  "files": [
@@ -103,7 +103,7 @@ const initTemplates = () => {
103
103
  };
104
104
 
105
105
  messageListConfiguration.value = new MessageListConfiguration({
106
-
106
+ scrollToBottomOnNewMessages: true,
107
107
  templates: definedTemplates,
108
108
  });
109
109
  }
@@ -112,7 +112,7 @@ const initTemplates = () => {
112
112
 
113
113
  <template>
114
114
  <div v-if="chatGroup" class="bcc-chat-message-list">
115
- <CometChatMessages v-if="chatGroup" :hideMessageHeader="true" :messageComposerConfiguration="messageComposerConfiguration" :messageListConfiguration="messageListConfiguration" :hideMessageComposer="false" :hideDetails="true" :group="chatGroup"></CometChatMessages>
115
+ <CometChatMessages v-if="chatGroup" :hideMessageHeader="true" :disableSoundForMessages="true" :messageComposerConfiguration="messageComposerConfiguration" :messageListConfiguration="messageListConfiguration" :hideMessageComposer="false" :hideDetails="true" :group="chatGroup"></CometChatMessages>
116
116
  </div>
117
117
  </template>
118
118