Make sure chat scrolls down once image has loaded

This commit is contained in:
JC Brand 2021-03-08 16:54:09 +01:00
parent 0d9c7bade3
commit a921e303ac

View File

@ -13,7 +13,7 @@ class MessageBodyRenderer {
}
onImageLoaded () {
this.component.dispatchEvent(new CustomEvent('imageLoaded', { detail: this.component }));
this.component.dispatchEvent(new CustomEvent('imageLoaded', { detail: this.component, 'bubbles': true }));
}
async transform () {