Skip to content

Issue with scrolling behaviour when using custom SideMenu #1602

@leTranTienPhat

Description

@leTranTienPhat

Describe the bug
When I try to render my own custom SideMenu, the container's scrolling behaviour is bugged out. It automatically unmount whenever i try to perform a scroll action. It even happen with Blocknote's default component as well

To Reproduce
You can see the bug clearly in Blocknote's document page about custom SideMenu

Go to that page, open the Sidemenu -> Colors, mouse over the container and scroll

The first example doesnt have this issue. It can scroll normally

But in the second example, it dissapear immediately when I try to scroll.

This is the problem that happened with me as well.

Misc

  • Node version: v20.18.0
  • Package manager: yarn
  • Browser: Brave Version 1.77.97 Chromium: 135.0.7049.84 (Official Build)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions