TypeCellOS / TypeCellOS/BlockNote
AI Menu positioning when editing multiple blocks
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.2k
- Forks
- 772
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 17
Description
Describe the bug
Originally described in https://github.com/TypeCellOS/BlockNote/pull/2247
Two issues:
The AI Menu opens & attempts to scroll, it should be smarter about not doing this if it is already in view- The AI Menu maybe should open relative to the blocks rather than relative to the text selection that the AI created, can be hard to review in context when the menu covers previous text
To Reproduce
<clear steps to reproduce are super helpful! Best is to provide an online sandbox, click to create one>
Misc
- Node version:
- Package manager:
- Browser:
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the behavior described in PR #2247 and reproducing the issue in examples/01-basic/01-minimal/App.tsx. Focus on the unresolved positioning concern: when editing multiple blocks, the AI Menu should remain useful for reviewing the affected text without covering previous context; the issue does not name an implementation file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100