Empty toggle list doesn't allow drag and drop

Open
#2,109 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
react, typescript
Domain
frontend

Research direction

No source file or test is named. Reproduce the empty toggle-list case on the BlockNote website, then trace the toggle-list and drag-and-drop implementation. Done means blocks can be dragged into a newly created empty toggle list without first creating a block inside it.

Written by the indexing model from the issue text.

Description

bug:P2 sponsor

Describe the bug
When you create a toggle list it's empty.
You need to open it and click to create block inside it.
Only after you can drag and drop blocks inside it.

To Reproduce
Tested on the blocknote website. See screen capture bellow.

https://github.com/user-attachments/assets/31264adf-e896-4f0e-afd9-0154bc3e711a

Misc

  • Node version:
  • Package manager:
  • Browser:
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Dominant language
TypeScript
Stars
10.2k
Forks
772
Avg merge
3d 11h
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TypeCellOS/BlockNote

All issues in TypeCellOS/BlockNote

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.