From 8839c03865f02cf9c98443f4e07ac477985151ed Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Tue, 12 Dec 2017 05:28:30 -0400 Subject: dropdown: add boundary config option (#24976) --- docs/4.0/components/dropdowns.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/4.0/components/dropdowns.md b/docs/4.0/components/dropdowns.md index cde123b00..926729a3d 100644 --- a/docs/4.0/components/dropdowns.md +++ b/docs/4.0/components/dropdowns.md @@ -723,9 +723,17 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap true Allow Dropdown to flip in case of an overlapping on the reference element. For more information refer to Popper.js's flip docs. + + boundary + string | element + 'scrollParent' + Overflow constraint boundary of the dropdown menu. Accepts the values of 'viewport', 'window', 'scrollParent', or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's preventOverflow docs. + +Note when `boundary` is set to any value other than `'scrollParent'`, the style `position: static` is applied to the `.dropdown` container. + ### Methods | Method | Description | -- cgit v1.2.3