Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
piotrbaldych-cr opened this issue Aug 29, 2024 · 0 comments
Open
1 task
Labels
bug Something isn't working prio:high High priority

Comments

@piotrbaldych-cr
Copy link

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 piotrbaldych-cr added the bug Something isn't working label Aug 29, 2024
@matthewlipski matthewlipski added the prio:high High priority label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio:high High priority
Projects
None yet
Development

No branches or pull requests

2 participants