Box Shadow on Tooltip Component but not on arrow #934
-
Question similar to the title. I have a custom tooltip component and using styled divs, adding box shadow to the TooltipContainer adds box shadow to only the rectangular shape and on top of the arrow. Am I doing something wrong or is this just how it is? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @johnmema The custom Tooltip component doesn't include the arrow.
This can be done globally by setting a prop on the Joyride component or by step. |
Beta Was this translation helpful? Give feedback.
Hey @johnmema
The custom Tooltip component doesn't include the arrow.
Instead of setting the box shadow on the custom component, override the floater styles.
Be aware the box-shadow only works for squared shapes. You need to use drop-shadow instead.
This can be done globally by setting a prop on the Joyride component or by step.
Does it work for you?