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

fix: show FloatingMenu by default only if focused #2275

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

jaulz
Copy link
Contributor

@jaulz jaulz commented Dec 14, 2021

Right now, if any extension updates the editor state the FloatingMenu will become visible. In my opinion the FloatingMenu should only be visible when the user actually focuses the editor. I know that I can pass a custom shouldShow function to change the behaviour but I think it should also be the default behaviour.

@netlify
Copy link

netlify bot commented Dec 14, 2021

✔️ Deploy Preview for tiptap-embed ready!

🔨 Explore the source changes: 29563bb

🔍 Inspect the deploy log: https://app.netlify.com/sites/tiptap-embed/deploys/61b89b5e7590b900073057a5

😎 Browse the preview: https://deploy-preview-2275--tiptap-embed.netlify.app

@philippkuehn
Copy link
Contributor

Good point. Thanks.

@philippkuehn philippkuehn merged commit 809af3b into ueberdosis:main Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants