Open
Description
Describe the bug
When adding a new block directly before a large one, Blocknote's view will jump to the next available text cursor position instead of staying at its current scroll position. This can be slightly annoying for users adding consecutive files or images.
Somehow, this issue does not exist if we use the slash menu, it happens only when we use the '+' button
To Reproduce
- Add a very large image, or 2 large images consecutively
- Attempt to insert a new block right before the image blocks (must be a non-text based block)
- You will observe that the view automatically jumps to the end of the images (my observation is it always jumps to the next available text cursor
Misc
- Node version: (whatever that blocknote's documentation is using)
- Package manager: (whatever that blocknote's documentation is using)
- Browser: Bug exists on Chrome and Edge
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖