Merge v0.0.18 compose fixes.

This commit is contained in:
Cory McWilliams 2024-04-24 20:35:36 -04:00
commit 6cd9dea186
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🐌",
"previous": "&IknYNSKcVBOL5mY056kj4vUtd2IbW91LOl6KFwSqaWM=.sha256"
"previous": "&UDqtNEELPRZAP6jSrcKfoXpAr8s7GjWmWLOQINN4kmg=.sha256"
}

View File

@ -342,7 +342,7 @@ class TfComposeElement extends LitElement {
remove_mention(id) {
let draft = this.get_draft();
delete draft.mentions[id];
setTimeout(() => this.requestUpdate(), 0);
setTimeout(() => this.notify(), 0);
}
render_mention(mention) {
@ -549,7 +549,7 @@ class TfComposeElement extends LitElement {
@input=${this.input}
@paste=${this.paste}
contenteditable
innerText=${live(draft.text)}
.innerText=${live(draft.text ?? '')}
></span>
</div>
<div class="w3-half w3-padding">