Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
  • Loading branch information
GeoSot and julien-deramond committed Jul 5, 2022
1 parent e022aa4 commit 06054ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/content/docs/5.2/components/scrollspy.md
Expand Up @@ -23,10 +23,10 @@ Scrollspy toggles the `.active` class on anchor (`<a>`) elements when the elemen
Target elements that aren't visible will be ignored and their corresponding nav items will never receive an `.active` class.

In case your scrollspy instance is initialized in a not visible wrapper, it will ignore all target elements.
As of above, when the wrapper becomes visible (its elements too), you must force scrollspy instance to check again for observable elements, using the `refresh` method
As of above, when the wrapper becomes visible (its elements too), you must force scrollspy instance to check again for observable elements, using the `refresh` method.

<details>
<summary class="text-muted">hidden tab example</summary>
<summary class="text-muted">Show tab example</summary>

```js

Expand Down

0 comments on commit 06054ad

Please sign in to comment.