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
Copy file name to clipboardExpand all lines: packages/components/tooltip/src/tooltip.tsx
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,12 @@ export type TTooltipProps = {
106
106
* Provides a way to fine-tune an appearance of underlying Popper tooltip element. For more information, please check [Popper.js documentation](https://popper.js.org/popper-documentation.html#modifiers).
107
107
*/
108
108
modifiers?: Modifiers;
109
+
/**
110
+
* Use CSS `position: fixed` for the popper element instead of `position: absolute`.
111
+
* Recommended when the tooltip body is rendered in a portal (e.g. via `TooltipWrapperComponent`)
112
+
* to prevent clipping caused by scrolled ancestors.
113
+
*/
114
+
positionFixed?: boolean;
109
115
/**
110
116
* Customize the appearance of certain elements of the tooltip.
0 commit comments