diff options
| author | Mark Otto <[email protected]> | 2017-08-10 22:38:45 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-08-10 22:38:45 -0700 |
| commit | db3dcb7c66457ca4ff2531c339e55c63dc52d576 (patch) | |
| tree | 54a5037c08e098db8c3d7995e28718ad5c094851 /docs/4.0/components/scrollspy.md | |
| parent | 006590ed9a7e39c4fac96cf732d5241edd95a59c (diff) | |
| download | bootstrap-db3dcb7c66457ca4ff2531c339e55c63dc52d576.tar.xz bootstrap-db3dcb7c66457ca4ff2531c339e55c63dc52d576.zip | |
Mention util.js on all JS plugin pages (#22955)
Fixes #20660
Diffstat (limited to 'docs/4.0/components/scrollspy.md')
| -rw-r--r-- | docs/4.0/components/scrollspy.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/4.0/components/scrollspy.md b/docs/4.0/components/scrollspy.md index 9e09fd761..9d7e8f502 100644 --- a/docs/4.0/components/scrollspy.md +++ b/docs/4.0/components/scrollspy.md @@ -10,6 +10,7 @@ toc: true Scrollspy has a few requirements to function properly: +- If building our JS from source, it [requires `util.js`]({{ site.baseurl }}/docs/getting-started/javascript/#util). - It must to be used on a Bootstrap [nav component]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/navs/) or [list group]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/list-group/). - Scrollspy requires `position: relative;` on the element you're spying on, usually the `<body>`. - When spying on elements other than the `<body>`, be sure to have a `height` set and `overflow-y: scroll;` applied. |
