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

Toolbar loses its position when custom item is selected #965

Open
1 task
mohsin1993 opened this issue Jul 25, 2024 · 2 comments
Open
1 task

Toolbar loses its position when custom item is selected #965

mohsin1993 opened this issue Jul 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working prio:high High priority

Comments

@mohsin1993
Copy link

mohsin1993 commented Jul 25, 2024

Describe the bug
Toolbar loses its posiition when custom items are selected

To Reproduce
Select alert from dropdown
(https://stackblitz.com/github/TypeCellOS/BlockNote/tree/main/examples/03-ui-components/03-formatting-toolbar-block-type-items?file=README.md)>

Misc

  • Node version:
  • Package manager:
  • Browser:
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖
@mohsin1993 mohsin1993 added the bug Something isn't working label Jul 25, 2024
@mohsin1993 mohsin1993 changed the title Toolbar looses its position when custom item is selected Toolbar loses its position when custom item is selected Jul 25, 2024
@mohsin1993
Copy link
Author

Screenshot 2024-07-25 at 17 06 41

@matthewlipski
Copy link
Collaborator

Thanks for reporting this, looks like the formatting toolbar is trying to calculate its position before the custom block is rendered.

@matthewlipski matthewlipski added the prio:high High priority label Aug 7, 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