Skip to content

Commit 0148428

Browse files
authored
fix: re-evaluate side-menu on scroll (#1830)
1 parent cd29566 commit 0148428

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/extensions/SideMenu/SideMenuPlugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ export class SideMenuView<
549549
this.state.referencePos = this.hoveredBlock!.getBoundingClientRect();
550550
this.emitUpdate(this.state);
551551
}
552+
this.updateStateFromMousePos();
552553
};
553554

554555
// Needed in cases where the editor state updates without the mouse cursor

0 commit comments

Comments
 (0)