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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
perf(editor): fix autoUpdate being continuously added when updating selections (#9727)
fundon268e89911a21
diff --git a/blocksuite/blocks/src/root-block/widgets/format-bar/format-bar.ts b/blocksuite/blocks/src/root-block/widgets/format-bar/format-bar.tsindex 8d455afa09..8ec0e5c5bd 100644--- a/blocksuite/blocks/src/root-block/widgets/format-bar/format-bar.ts+++ b/blocksuite/blocks/src/root-block/widgets/format-bar/format-bar.ts@@ -567,10 +567,12 @@ export class AffineFormatBarWidget extends WidgetComponent {}override updated() {+ if (this._floatDisposables) {+ this._floatDisposables.dispose();+ this._floatDisposables = null;+ }+if (!this._shouldDisplay()) {- if (this._floatDisposables) {- this._floatDisposables.dispose();- }return;}