Closed BayBreezy closed 11 months ago
You can prevent the error by wrapping <FloatContextMenu />
with <ClientOnly />
. You don't need context menu in SSR generated content anyways.
OMG... How did I not try this. Thank you @gustojs This worked. Closing this one
Use Version Use version when bugs appear:
Describe the bug I get an error on the browser that says "Node is not defined". This only happens when i try to use the
FloatContextMenu
component. Below are the logs:In the VSCode terminal, I also get this:
[Vue warn]: provide() can only be used inside setup().
To Reproduce Here is the code used that caused the error:
Screenshots Browser:
Expected behavior I expected the context menu to work as normal