Tiptap: Regression making floating-menu unclickable

Created on 10 Jun 2019  路  8Comments  路  Source: ueberdosis/tiptap

Describe the bug
After the b381e500 commit and 1.22.1 release, I can no longer interact with the editor-floating-menu component. Trying to click it results in isActive being flipped to false and hiding it.

Any ideas on that?

bug

Most helpful comment

Ah, the code on the demo page is only working because of a fade transition. So quick fix for you: add a transition.

But I have to find a solution for this.

All 8 comments

Here's a quick video of the issue in action.

2019-06-10 16 52 22

When we click that button in Jack's gif, this is what's getting fired:

https://github.com/scrumpy/tiptap/commit/b381e50043baee0f2594d212e30ab0750bf7df80#diff-1fcbad22612f4e7fc6b4b4d9dae86289R21

@jasonvarga hmm strange. but that blur event was already there before 馃
did you try to call event.stopPropagation() on your button click?

Yes, no luck.

For what it's worth, I was seeing this behavior in Firefox before this update, and now I'm seeing it all browsers.

It seems to blur before any click events happen on any buttons inside the menu.

Ah, the code on the demo page is only working because of a fade transition. So quick fix for you: add a transition.

But I have to find a solution for this.

You folks are awesome! 鉂わ笍

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leandromatos picture leandromatos  路  4Comments

git-mischa picture git-mischa  路  3Comments

unikitty37 picture unikitty37  路  3Comments

jetacpp picture jetacpp  路  3Comments

glavdir picture glavdir  路  3Comments