mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-14 21:11:42 +03:00
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:
parent
9af0e53ae2
commit
ba8958f39b
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user