Skip to content
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

setProps in onCreate has no effect which breaks certain plugins. #348

Open
lukesmurray opened this issue Feb 15, 2022 · 1 comment
Open

Comments

@lukesmurray
Copy link

I tried using the mouseRestPlugin with the react tippy component.

However, props set in instance.setProps seem to be overwritten.
Is this a known issue? It seems to be related to the fact that the component props are merged after the first render using an isomorphic layout effect.
How would you get the mouseRest plugin to work without setting the props in onCreate?

CodeSandbox Reproduction

@lukesmurray
Copy link
Author

found a workaround for my use case where I don't need to use a plugin so this can be closed if it is no longer supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant