BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

fix(ai): re-enable flipping the AIMenu when there is not enough space #2245

Open nperez0111 opened this issue 2 months ago • 2 comments

Summary

I think we may want to do a couple more things in addition to this.

It makes sense to me that we would move the selection to be the range of blocks that the menu is trying to cover (it is hard to tell what the menu is referencing, and if the selection was visible I think it would make it easier).

There also seems to be an issue of scrolling to the wrong position when the menu is first opened. I think we should only try to scroll if it is actually out of bounds or something

Rationale

Changes

Impact

Testing

Screenshots/Video

Checklist

  • [ ] Code follows the project's coding standards.
  • [ ] Unit tests covering the new feature have been added.
  • [ ] All existing tests pass.
  • [ ] The documentation has been updated to reflect the new feature

Additional Notes

nperez0111 avatar Dec 09 '25 13:12 nperez0111