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

SuggestionMenu collapses when you click the label #1043

Open
BYODKM opened this issue Aug 30, 2024 · 2 comments
Open

SuggestionMenu collapses when you click the label #1043

BYODKM opened this issue Aug 30, 2024 · 2 comments
Labels
bug Something isn't working prio:mid Medium priority

Comments

@BYODKM
Copy link

BYODKM commented Aug 30, 2024

Describe the bug

When you click .bn-suggestion-menu-label, the SuggestionMenu collapses.

Screenshot 2024-08-30 at 10 42 17 AM

 
To Reproduce
https://www.blocknotejs.org/examples/basic/minimal

Misc

  • Browser: Mac Chrome 128
@BYODKM BYODKM added the bug Something isn't working label Aug 30, 2024
@BYODKM
Copy link
Author

BYODKM commented Aug 30, 2024

onMouseDown={(e) => e.preventDefault()} is missing somewhere.

@matthewlipski
Copy link
Collaborator

Thanks! Think you're right with the fix

@matthewlipski matthewlipski added the prio:mid Medium 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:mid Medium priority
Projects
None yet
Development

No branches or pull requests

2 participants