Skip to content

Commit

Permalink
Clarify boundary option description (#33735)
Browse files Browse the repository at this point in the history
Mention that `boundary` option is specific to the preventOverflow  modifier only

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
rohit2sharma95 and XhmikosR committed Apr 25, 2021
1 parent 0645fa9 commit 75b11bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/dropdowns.md
Expand Up @@ -1033,7 +1033,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<td><code>boundary</code></td>
<td>string | element</td>
<td><code>'clippingParents'</code></td>
<td>Overflow constraint boundary of the dropdown menu. By default it's <code>'clippingParents'</code> and can accept an HTMLElement reference (JavaScript only). For more information refer to Popper's <a href="https://popper.js.org/docs/v2/utils/detect-overflow/#boundary">detectOverflow docs</a>.</td>
<td>Overflow constraint boundary of the dropdown menu (applies only to Popper's preventOverflow modifier). By default it's <code>'clippingParents'</code> and can accept an HTMLElement reference (via JavaScript only). For more information refer to Popper's <a href="https://popper.js.org/docs/v2/utils/detect-overflow/#boundary">detectOverflow docs</a>.</td>
</tr>
<tr>
<td><code>reference</code></td>
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/popovers.md
Expand Up @@ -244,7 +244,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` opt
<td><code>boundary</code></td>
<td>string | element</td>
<td><code>'clippingParents'</code></td>
<td>Overflow constraint boundary of the popover. By default it's <code>'clippingParents'</code> and can accept an HTMLElement reference (JavaScript only). For more information refer to Popper's <a href="https://popper.js.org/docs/v2/utils/detect-overflow/#boundary">detectOverflow docs</a>.</td>
<td>Overflow constraint boundary of the popover (applies only to Popper's preventOverflow modifier). By default it's <code>'clippingParents'</code> and can accept an HTMLElement reference (via JavaScript only). For more information refer to Popper's <a href="https://popper.js.org/docs/v2/utils/detect-overflow/#boundary">detectOverflow docs</a>.</td>
</tr>
<tr>
<td><code>customClass</code></td>
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/tooltips.md
Expand Up @@ -269,7 +269,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` opt
<td><code>boundary</code></td>
<td>string | element</td>
<td><code>'clippingParents'</code></td>
<td>Overflow constraint boundary of the tooltip. By default it's <code>'clippingParents'</code> and can accept an HTMLElement reference (JavaScript only). For more information refer to Popper's <a href="https://popper.js.org/docs/v2/utils/detect-overflow/#boundary">detectOverflow docs</a>.</td>
<td>Overflow constraint boundary of the tooltip (Applied only for the preventOverflow modifier of the Popper). By default it's <code>'clippingParents'</code> and can accept an HTMLElement reference (via JavaScript only). For more information refer to Popper's <a href="https://popper.js.org/docs/v2/utils/detect-overflow/#boundary">detectOverflow docs</a>.</td>
</tr>
<tr>
<td><code>customClass</code></td>
Expand Down

0 comments on commit 75b11bb

Please sign in to comment.