From: Johann-S Date: Sun, 29 Oct 2017 05:43:44 +0000 (+0100) Subject: Add information about the fact we do not use Popper.js for Dropdown c… (#24571) X-Git-Tag: v4.0.0-beta.3~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aec2e38caff3355993acc3a2070c82232a4ec79a;p=thirdparty%2Fbootstrap.git Add information about the fact we do not use Popper.js for Dropdown c… (#24571) * Add information about the fact we do not use Popper.js for Dropdown contained in navbars * Update dropdowns.md * Update dropdowns.md --- diff --git a/docs/4.0/components/dropdowns.md b/docs/4.0/components/dropdowns.md index f91ff53128..c4ada2b0fa 100644 --- a/docs/4.0/components/dropdowns.md +++ b/docs/4.0/components/dropdowns.md @@ -10,7 +10,7 @@ toc: true Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. They're toggled by clicking, not by hovering; this is [an intentional design decision.](http://markdotto.com/2012/02/27/bootstrap-explained-dropdowns/) -Dropdowns are built on a third party library, [Popper.js](https://popper.js.org/), which provides dynamic positioning and viewport detection. Be sure to include [popper.min.js]({{ site.cdn.popper }}) before Bootstrap's JavaScript or use `bootstrap.bundle.min.js` / `bootstrap.bundle.js` which contains Popper.js. +Dropdowns are built on a third party library, [Popper.js](https://popper.js.org/), which provides dynamic positioning and viewport detection. Be sure to include [popper.min.js]({{ site.cdn.popper }}) before Bootstrap's JavaScript or use `bootstrap.bundle.min.js` / `bootstrap.bundle.js` which contains Popper.js. Popper.js isn't used to position dropdowns in navbars though as dynamic positioning isn't required. If you're building our JavaScript from source, it [requires `util.js`]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/javascript/#util).