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(core): positioning error in fixed floating submenu (#10606)

yoyoyohamapifd244f909d1a
diff --git a/packages/frontend/core/src/blocksuite/ai/components/ai-item/ai-item-list.ts b/packages/frontend/core/src/blocksuite/ai/components/ai-item/ai-item-list.ts
index a95db5cb72..bfc7807a66 100644
--- a/packages/frontend/core/src/blocksuite/ai/components/ai-item/ai-item-list.ts
+++ b/packages/frontend/core/src/blocksuite/ai/components/ai-item/ai-item-list.ts
@@ -92,7 +92,6 @@ export class AIItemList extends WithDisposable(LitElement) {
.onClick=${this.onClick}
.abortController=${this._abortController}
></ai-sub-item-list>`,
- container: aiItemContainer,
positionStrategy: 'fixed',
computePosition: {
referenceElement: aiItemContainer,