-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Custom tooltip component does not take zIndex prop from chart theme #2490
Comments
Temporary fix:
|
It's a typing issue, |
packages/tooltip/src/TooltipWrapper.tsx line 81 has the actual bug, if not just related. Maybe |
extend tooltip theme to allow customization of TooltipWrapper component
extend tooltip theme to allow customization of TooltipWrapper component
Solved by #2552, it can now be customized via |
It's been released in |
Hi,
I've tried to change a zIndex of a custom tooltip and faced with the problem. Every tooltip is wrapped with one more component that has zIndex: 10, and it is not possible to change it from the chart theme.
codesandbox
I am not sure the issue in this part of the code, but it is very likely. Because when I pass
{ tooltip: { zIndex: 10000 } }
to the theme, everything works fine (except compile errors).Has someone faced with this issue?
The text was updated successfully, but these errors were encountered: