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
@@ -199,7 +202,7 @@ The tooltip will be squeezed to an adjacent region if the root of the tooltip ge
199
202
200
203
## Alignments
201
204
202
-
Tool tip's alignments are divided into **root alignment** and **target alignment**, each with a corresponding **offset** attribute that controls the direction of the alignment and offset amount.
205
+
Tooltip's alignments are divided into **root alignment** and **target alignment**, each with a corresponding **offset** attribute that controls the direction of the alignment and offset amount.
203
206
204
207
### Target Alignment
205
208
@@ -208,3 +211,11 @@ Target alignment refers to the alignment of the pivot relative to the target of
208
211
### Root Alignment
209
212
210
213
Root alignment refers to the alignment of the tooltip's root relative to the pivot. See `rootAlign` and `rootAlignOffset`.
214
+
215
+
## Clamping
216
+
217
+
By default the tooltip is "clamped" to its parent. Meaning even if the target leaves the viewport, the tooltip would never leave the viewport. The clamping behaviour can be controlled via the `clamp` property.
218
+
219
+
When `clamp` is `true`, the flyout will always remains in the parent even if the target is out of the parent.
220
+
221
+
When `clamp` is `false`, the flyout will always attatch itself to the target, even if it’s outside the parent, but it will make a best effort to be in the parent.
0 commit comments