BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Inconsistent position of menu for a block close to bottom of the viewport

Open piotrbaldych-cr opened this issue 1 year ago • 0 comments

Describe the bug When opening the menu for a block close to the bottom of the viewport the positioning is inconsistent.

To Reproduce

Reproduced in https://www.blocknotejs.org/examples/basic/minimal

Position content and editor so the empty block is close to the bottom of the viewport (but not too close) image

Click on a plus once, the menu is positioned above the empty block: image

Click on same plus second time, the menu is positioned below and very small: image

Misc

  • Node version: 22.2.0
  • Package manager: yarn
  • Browser: Firefox 129.0.2
  • [ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖

piotrbaldych-cr avatar Aug 29 '24 18:08 piotrbaldych-cr