fix: reset height after send (#7755)

fix PD-1427
This commit is contained in:
darkskygit 2024-08-06 08:25:28 +00:00
parent de7933c1dd
commit f93743dae6
No known key found for this signature in database
GPG Key ID: 97B7D036B1566E9D

View File

@ -423,6 +423,7 @@ export class ChatPanelInput extends WithDisposable(LitElement) {
const { doc } = this.host;
this.textarea.value = '';
this.isInputEmpty = true;
this.textarea.style.height = 'unset';
this.updateContext({
images: [],
status: 'loading',