I've noticed that the menu data object in the <editor-floating-menu> component doesn't always get updated, especially if the updates are quick. If i wait about 300ms between events, it seems to always work, but anything less than that and i get mixed results (e.g. the isActive and top don't update).
Any ideas? Things to look into?
Hey Jack. I tried typing as fast as possible but can't see any problems on the example page. Do you have these issue while typing? Or when using API methods? And which browser do you use?
Ah, it's a mouse click thing. I'm on Chrome (73.0.3683.10). I can recreate it on the example page. Here's a video: https://d.pr/v/heini9
Ah, see it. Looking into it!
Okay this seems to be an issue with ProseMirror. Created a thread in the discuss board.
Nice find. I'm watching that thread to see where it goes :)
@jackmcdade this should be fixed in v1.15.0
Awesome! We'll give it a test today.
Updated to 1.15.0 but unfortunately still see the same exact behavior. Video in action:
Looks like this is the same issue.
It was fixed an hour ago but a release hasn't been created yet.
We applied this patch locally and it seems to do the trick. (I'm working with @jackmcdade)
Ah damn. Whatever I fixed then 馃槄
Let's wait for the ProseMirror release.
With v1.16.1 this should be really fixed (with the newest version of prosemirror-view)
Most helpful comment
Ah, see it. Looking into it!