Skip to content

Investigate Bootstrap's native ScrollSpy Component #246

@st3phhays

Description

@st3phhays

Is Your Feature Request Related To A Problem? Please describe.

In Bootstrap 5.2.2, the ScrollSpy component was rewritten to fix some underlying problems. Currently choco-theme uses a custom implementation of "ScrollSpy" because of the issue that it had a while back. Now that the issues have been fixed, it would be worth investigating whether or not we can utilize the native ScrollSpy component and remove the custom implementation.

Describe The Solution. Why is it needed?

While what we have works now, it is a good idea to utilize native features in the framework if it supplies them. This could reduce future buts and the amount of code introduced to maintain.

Additional Context.

This feature (our custom build) is currently being used in the docs, choco-design, boxstarter, company, and maybe chocolatey.org.

ScrollSpy: https://getbootstrap.com/docs/5.2/components/scrollspy/#how-it-works
Issue: twbs/bootstrap#33421

Related Issues

n/a

Metadata

Metadata

Assignees

Labels

0 - BacklogIssue is accepted, but is not ready to be worked on or not in current sprint.EnhancementIssues that introduce new functionality to the project, or enhances/updates existing functionality.WorkItemNon-bug, non-feature related things. Could be refactoring. Sometimes non-code related things.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions