fix: chat block peek view input reset height (#7884)

[BS-1202](https://linear.app/affine-design/issue/BS-1202/ai-chat-block-输入大段内容发送后输入框-resize-问题)
This commit is contained in:
donteatfriedrice 2024-08-15 08:08:00 +00:00
parent 9af0e53ae2
commit ba8958f39b
No known key found for this signature in database
GPG Key ID: 710A67A6AC71FD16

View File

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