2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Fix boundary config description for dropdown and popover (#32979)

This commit is contained in:
Kyle Tsang
2021-02-03 21:26:32 -08:00
committed by GitHub
parent d63a922436
commit 22d8e34b3e
2 changed files with 3 additions and 5 deletions
@@ -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">