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
passing popperOptions: undefined
crashes page
#62
Comments
This probably broke it: atomiks/tippyjs@294351a Would need a check |
wouldn't that throw if |
It's a destructured property higher in the scope. Is this high priority or can you set it as an object explicitly instead of undefined for now? |
no, not urgent, this is easily solved by just using |
junglerot
added a commit
to junglerot/jungle
that referenced
this issue
Feb 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NB: This seems to be an issue within tippy itself but I thought I'd make an issue here in case a check/default on the component side is enough.
I created a wrapper around Tippy to provide custom defaults but found that the page became unresponsive when hovering over the target element; page using 100% cpu according to devtools. This started recently, so possibly a tippy v4 regression.
Since the wrapper passes undefined to Tippy when it is not explicitly set by the component, it is necessary to use
{}
as the default param.Working:
Breaking:
The text was updated successfully, but these errors were encountered: