We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d00ce14 + 3da8a4c commit 80a10ecCopy full SHA for 80a10ec
README.md
@@ -472,7 +472,8 @@ messages="[
472
type: 'png',
473
audio: true,
474
duration: 14.4,
475
- url: 'https://firebasestorage.googleapis.com/...'
+ url: 'https://firebasestorage.googleapis.com/...',
476
+ preview: 'data:image/png;base64,iVBORw0KGgoAA...'
477
},
478
reactions: {
479
wink: [
src/ChatWindow/Message/MessageImage.vue
@@ -11,7 +11,7 @@
11
isImageLoading && message.senderId === currentUserId
12
}"
13
:style="{
14
- 'background-image': `url('${message.file.url}')`,
+ 'background-image': `url('${isImageLoading ? message.file.preview || message.file.url : message.file.url}')`,
15
'max-height': `${imageResponsive.maxHeight}px`
16
17
>
0 commit comments