TypeCellOS / TypeCellOS/BlockNote

Table move column row behaviour is not consistent

Open
#2,588 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug bug:P4
Dominant language
TypeScript
Stars
10.2k
Forks
772
Avg merge
3d 11h
Merged PRs (30d)
17

Description

What’s broken?

When moving a row in a table I sometimes get a behaviour where it tries to move the row inside a row. Which doesn't work

What did you expect to happen?

I should only be able to move row up or down not inside

Steps to reproduce

See screencast of bug here https://fichiers.numerique.gouv.fr/explorer/items/e9c20dfe-ec34-4d2c-a369-5e77577a8bb0

BlockNote version

Tested here https://www.blocknotejs.org/demo#sadqo

Environment

Firefox 148 64 bit on NixOS

Additional context

No response

Contribution
  • I'd be interested in contributing a fix for this issue
Sponsor
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

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.

Research direction

Use the linked BlockNote demo and screencast to reproduce the table row-move behavior in Firefox. Trace the table row move handling and add a regression test for the case where a row is offered an invalid inside-row move; done means rows can be moved only up or down.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.