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 option to control showing of top loader for hash anchors (fixes #92) #93

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

mobeigi
Copy link
Contributor

@mobeigi mobeigi commented Oct 3, 2024

Overview

This change adds a new showForHashAnchor to the configuration.
By default this boolean is set to true which is inline with existing / current behaviour.

When set to false, the top loader will not be shown for hash anchor links (i.e. example.com/page#footer).

Use case

This feature is useful for websites that make heavy use of hash anchor links.

src/index.tsx Show resolved Hide resolved
src/index.tsx Show resolved Hide resolved
src/index.tsx Show resolved Hide resolved
Copy link
Owner

@TheSGJ TheSGJ left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution to this project.

@TheSGJ TheSGJ merged commit b1f63cb into TheSGJ:master Oct 5, 2024
5 checks passed
@TheSGJ TheSGJ added the enhancement New feature or request label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants