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 more popper position (#7260)

regischendddfcdbabb33
diff --git a/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/actions/copy-more.ts b/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/actions/copy-more.ts
index d7812437a4..28419df1dc 100644
--- a/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/actions/copy-more.ts
+++ b/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/actions/copy-more.ts
@@ -161,7 +161,9 @@ export class ChatCopyMore extends WithDisposable(LitElement) {
this._morePopper = createButtonPopper(
this._moreButton,
this._moreMenu,
- ({ display }) => (this._showMoreMenu = display === 'show')
+ ({ display }) => (this._showMoreMenu = display === 'show'),
+ 0,
+ -100
);
}
}