Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

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

donteatfriedriceba8958f39b5f
diff --git a/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-input.ts b/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-input.ts
index d7c9d58069..98f3bc5522 100644
--- a/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-input.ts
+++ b/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-input.ts
@@ -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',