From 22d8e34b3eb969d241498337b07ac143e3c4b619 Mon Sep 17 00:00:00 2001 From: Kyle Tsang <6854874+kyletsang@users.noreply.github.com> Date: Wed, 3 Feb 2021 21:26:32 -0800 Subject: [PATCH] Fix boundary config description for dropdown and popover (#32979) --- site/content/docs/5.0/components/dropdowns.md | 4 +--- site/content/docs/5.0/components/popovers.md | 4 ++-- 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 4c80e863c0..199c7a024f 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 boundary string | element - 'scrollParent' + 'clippingParents' Overflow constraint boundary of the dropdown menu. By default it's 'clippingParents' and can accept an HTMLElement reference (JavaScript only). For more information refer to Popper's preventOverflow docs. @@ -915,8 +915,6 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap -Note when `boundary` is set to any value other than `'scrollParent'`, the style `position: static` is applied to the `.dropdown` container. - ### Methods diff --git a/site/content/docs/5.0/components/popovers.md b/site/content/docs/5.0/components/popovers.md index 3fac255267..13d3edd7fe 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 - - + +
boundary string | element'scrollParent'Overflow constraint boundary of the popover. Accepts the values of 'viewport', 'window', 'scrollParent', or an HTMLElement reference (JavaScript only). For more information refer to Popper's preventOverflow docs.'clippingParents'Overflow constraint boundary of the popover. By default it's 'clippingParents' and can accept an HTMLElement reference (JavaScript only). For more information refer to Popper's preventOverflow docs.
customClass