You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Previously, the way to change the tooltip opacity (from the 0.9 default value) was to set the CSS variable like so:
:root {
--rt-opacity: 1;
}
I believe the recent change in the way the styles are injected broke this.
Describe the solution you'd like
Add a opacity tooltip prop to override the default value.
Add a check on the style prop and console.warn() if opacity is set (only if env !== 'production'), advising to use the prop instead (same as done with border).
Additional context
As mentioned on #1010 (comment).
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Previously, the way to change the tooltip opacity (from the 0.9 default value) was to set the CSS variable like so:
I believe the recent change in the way the styles are injected broke this.
Describe the solution you'd like
opacity
tooltip prop to override the default value.style
prop andconsole.warn()
ifopacity
is set (only ifenv !== 'production'
), advising to use the prop instead (same as done withborder
).Additional context
As mentioned on #1010 (comment).
The text was updated successfully, but these errors were encountered: