From 7d6568ce79da40b87d9cd51e57a21405fbb172c9 Mon Sep 17 00:00:00 2001 From: Justin Ferrari <‘justinwesleyferrari@gmail.com’> Date: Wed, 30 Nov 2022 14:17:29 -0500 Subject: [PATCH] Fixed the chat message size bug --- .../plugins/core/components/ChatPage.js | 33 +++---- .../plugins/core/components/ChatScroller.js | 27 +++--- .../plugins/core/components/ChatTextEditor.js | 89 ++++++++++++------- 3 files changed, 78 insertions(+), 71 deletions(-) diff --git a/qortal-ui-plugins/plugins/core/components/ChatPage.js b/qortal-ui-plugins/plugins/core/components/ChatPage.js index 5efa10a6..ecca8d3d 100644 --- a/qortal-ui-plugins/plugins/core/components/ChatPage.js +++ b/qortal-ui-plugins/plugins/core/components/ChatPage.js @@ -59,7 +59,7 @@ class ChatPage extends LitElement { repliedToMessageObj: { type: Object }, editedMessageObj: { type: Object }, iframeHeight: { type: Number }, - chatMessageSize: { type: Number}, + // chatMessageSize: { type: Number}, imageFile: { type: Object }, isUploadingImage: { type: Boolean }, chatEditor: { type: Object }, @@ -545,7 +545,7 @@ class ChatPage extends LitElement { this.repliedToMessageObj = null this.editedMessageObj = null this.iframeHeight = 42 - this.chatMessageSize = 0 + // this.chatMessageSize = 0 this.imageFile = null this.uid = new ShortUniqueId() this.userLanguage = "" @@ -619,7 +619,7 @@ class ChatPage extends LitElement { `} -