aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Tsang <[email protected]>2021-02-03 21:26:32 -0800
committerGitHub <[email protected]>2021-02-04 07:26:32 +0200
commit22d8e34b3eb969d241498337b07ac143e3c4b619 (patch)
treee583ee32028486b461a411caf4c3ceb36cb80350
parentd63a9224368bd2eaf744b82a3c0f675671699d9b (diff)
downloadbootstrap-22d8e34b3eb969d241498337b07ac143e3c4b619.tar.xz
bootstrap-22d8e34b3eb969d241498337b07ac143e3c4b619.zip
Fix boundary config description for dropdown and popover (#32979)
-rw-r--r--site/content/docs/5.0/components/dropdowns.md4
-rw-r--r--site/content/docs/5.0/components/popovers.md4
2 files changed, 3 insertions, 5 deletions
diff --git a/site/content/docs/5.0/components/dropdowns.md b/site/content/docs/5.0/components/dropdowns.md
index 4c80e863c..199c7a024 100644
--- a/site/content/docs/5.0/components/dropdowns.md
+++ b/site/content/docs/5.0/components/dropdowns.md
@@ -881,7 +881,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<tr>
<td><code>boundary</code></td>
<td>string | element</td>
- <td><code>'scrollParent'</code></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">preventOverflow docs</a>.</td>
</tr>
<tr>
@@ -915,8 +915,6 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
</tbody>
</table>
-Note when `boundary` is set to any value other than `'scrollParent'`, the style `position: static` is applied to the `.dropdown` container.
-
### Methods
<table class="table">
diff --git a/site/content/docs/5.0/components/popovers.md b/site/content/docs/5.0/components/popovers.md
index 3fac25526..13d3edd7f 100644
--- a/site/content/docs/5.0/components/popovers.md
+++ b/site/content/docs/5.0/components/popovers.md
@@ -237,8 +237,8 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` opt
<tr>
<td><code>boundary</code></td>
<td>string | element</td>
- <td><code>'scrollParent'</code></td>
- <td>Overflow constraint boundary of the popover. Accepts the values of <code>'viewport'</code>, <code>'window'</code>, <code>'scrollParent'</code>, or an HTMLElement reference (JavaScript only). For more information refer to Popper's <a href="https://popper.js.org/docs/v2/utils/detect-overflow/#boundary">preventOverflow docs</a>.</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">preventOverflow docs</a>.</td>
</tr>
<tr>
<td><code>customClass</code></td>