konstantinmuenster / lexical-floating-menu

Designed for @lexical/react. Headless & fully-customizable.
https://lexical-floating-menu.vercel.app
MIT License
30 stars 1 forks source link

Floating menu does not dissapear when changing between nested LexicalNestedComposers. #3

Open JorgeAtPaladin opened 7 months ago

JorgeAtPaladin commented 7 months ago

An important feature of lexical is supporting LexicalNestedComposer to embed editors inside of decorator components. This is critical for supporting eg. Tables.

When I shift focus between two LexicalNestedComposer's their editable content, the floating menu that was previously active doesn't dissapear.

Capture d’écran 2023-11-22 à 20 58 53

Please see an example above where I have a decorator component with a

filled with nested composers.

konstantinmuenster commented 7 months ago

Hey @JorgeAtPaladin! Thanks for opening this up. This is definitely something we should fix 👍 I'll see what I can do. If you have patched this already on your end, feel free to file a PR. Happy for all contributions!

JorgeAtPaladin commented 6 months ago

Not patched on our end as we had to give up on Lexical for the time being (collaboration support turns out to not work well with these nested components either).