Tooltip surfaces automatically flip the active color scheme (via invertColorScheme, which defaults to true) so the overlay background has high contrast against the surrounding UI. Set invertColorScheme={false} on either the web or mobile Tooltip if you need the content to inherit the current theme and ensure your custom colors still meet contrast guidelines.
Placement
Positioning
Sometimes you may want to use a tooltip with an absolute positioned element.
To ensure the tooltip is properly aligned, you should instead set the position prop on the tooltip.
Opt out of color inversion
Tooltips invert the current color scheme by default. Pass invertColorScheme={false} to keep the tooltip aligned with the surrounding surface and supply your preferred elevation/background tokens.
Tooltip in TextInput
You can use tooltips within TextInput to provide more context.