Skip to content

setting dragHandleMenu on SideMenu component has no effect #2246

@imprisoner

Description

@imprisoner

Describe the bug
When trying to customize drag handle menu like <SideMenu dragHandleMenu={YourCustomMenu}/> it doesn't work. For desired effect you should pass your custom menu like <DragHandleButton dragHandleMenu={YourCustomMenu}/>.

To Reproduce
Link to reproducible example:
https://stackblitz.com/github/TypeCellOS/BlockNote/tree/main/examples/03-ui-components/05-side-menu-drag-handle-items?file=src%2FApp.tsx

Link taken from example in the official docs:
https://www.blocknotejs.org/examples/ui-components/side-menu-buttons

Metadata

Metadata

Assignees

No one assigned

    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