Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some details for non visible scrollspy elements #36625

Merged
merged 7 commits into from
Jul 11, 2022

Conversation

GeoSot
Copy link
Member

@GeoSot GeoSot commented Jun 22, 2022

closes #36615

It probably needs proofreading, from a native speaker

Preview : https://deploy-preview-36625--twbs-bootstrap.netlify.app/docs/5.2/components/scrollspy/#how-it-works

@GeoSot GeoSot added the docs label Jun 22, 2022
@GeoSot GeoSot added this to In progress in v5.2.0-stable via automation Jun 22, 2022
@GeoSot GeoSot force-pushed the gs/docs-add-scrollspy-info branch 2 times, most recently from 289f7fb to e022aa4 Compare June 30, 2022 21:14
@GeoSot GeoSot requested a review from mdo June 30, 2022 21:15
@GeoSot GeoSot marked this pull request as ready for review June 30, 2022 21:15
@GeoSot GeoSot moved this from In progress to Review in progress in v5.2.0-stable Jun 30, 2022
@arcanisgk

This comment was marked as off-topic.

Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few minor suggestions to enhance this warning.

site/content/docs/5.2/components/scrollspy.md Outdated Show resolved Hide resolved
site/content/docs/5.2/components/scrollspy.md Outdated Show resolved Hide resolved
site/content/docs/5.2/components/scrollspy.md Outdated Show resolved Hide resolved
site/content/docs/5.2/components/scrollspy.md Outdated Show resolved Hide resolved
site/content/docs/5.2/components/scrollspy.md Outdated Show resolved Hide resolved
site/content/docs/5.2/components/scrollspy.md Outdated Show resolved Hide resolved
@GeoSot GeoSot force-pushed the gs/docs-add-scrollspy-info branch from 62cf734 to 6018958 Compare July 5, 2022 07:25
@GeoSot
Copy link
Member Author

GeoSot commented Jul 5, 2022

arcanisgk Hi, I tried to test ScrollSpy on codepen....

Please @arcanisgk as your issue, it is out of scope on this PR, try to remove it, and start a new discussion or issue

@julien-deramond julien-deramond self-requested a review July 5, 2022 19:36
v5.2.0-stable automation moved this from Review in progress to Reviewer approved Jul 5, 2022
Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Let's wait for the review of a native speaker before merging it :)

@GeoSot GeoSot force-pushed the gs/docs-add-scrollspy-info branch from 6018958 to 17b4f44 Compare July 6, 2022 07:41
@mdo
Copy link
Member

mdo commented Jul 7, 2022

On mobile for now, but how's this read?

Non-visible elements

Target elements that aren’t visible will be ignored, and their corresponding nav items will not receive an .active class. Scrollspy instances initialized in a non-visible wrappers will ignore all target elements. Use the refresh method to check for observable elements once the wrapper becomes visible.

@julien-deramond
Copy link
Member

On mobile for now, but how's this read?

Committed your proposal to save you some time with the "Co-authored-by" info.

@mdo mdo force-pushed the gs/docs-add-scrollspy-info branch from 0069f90 to 830e81a Compare July 10, 2022 03:40
@mdo mdo force-pushed the gs/docs-add-scrollspy-info branch from 1118fdd to a36872a Compare July 11, 2022 16:50
@mdo mdo merged commit 62b3d3c into main Jul 11, 2022
v5.2.0-stable automation moved this from Reviewer approved to Done Jul 11, 2022
@mdo mdo deleted the gs/docs-add-scrollspy-info branch July 11, 2022 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v5.2.0-stable
  
Done
Status: Done
Development

Successfully merging this pull request may close these issues.

Scrollspy does not function within nav tabs
4 participants