-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Bubble Menu disappears for split second after clicking item #3625
Comments
The button on the bubble menu will not have such a problem if you use button |
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days |
I'm also getting this issue. If a command is run, then it does this disappearing and then reappearing. If the command is disabled, then it's fine. @dominiczy Did you manage to find a solution? |
Actually this is strange, there's no flashing if I use an ordinary element like |
I still see this when using ordinary button elements |
What’s the bug you are facing?
I'm using Vite + React + TipTap. I've added a minimal implementation of the Bubble Menu. However, when clicking any Bubble Menu item that executes an editor command, the bubble menu disappears while the command is executed, and then reappears.
This is a bad user experience. I believe it's a bug since it's not present in the TipTap's own Bubble Menu example.
Minimal reproduction of the bug: https://stackblitz.com/edit/vitejs-vite-vdekmz?file=src%2FApp.jsx
Which browser was this experienced in? Are any special extensions installed?
Chrome, no extensions
How can we reproduce the bug on our side?
Reproduction at https://stackblitz.com/edit/vitejs-vite-vdekmz?file=src%2FApp.jsx
Can you provide a CodeSandbox?
https://stackblitz.com/edit/vitejs-vite-vdekmz?file=src%2FApp.jsx
What did you expect to happen?
Bubble Menu stays visible all the time
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: