Skip to content

Conversation

@psikoi
Copy link

@psikoi psikoi commented Jun 11, 2023

fixes #17
potentially fixes #16
potentially fixes #8

Implementation based on rstacruz/nprogress#169 (comment)

This PR adds a delay prop that dictates the minimum request duration before the toploader starts. This can be useful to prevent it from showing when navigating to either a fast loading URL, or to an anchor tag

@psikoi psikoi closed this Sep 6, 2023
@artem-simutin
Copy link

Why this PR is closed?

It seems like a very reasonable change to me...

@psikoi
Copy link
Author

psikoi commented Feb 2, 2024

Why this PR is closed?

It seems like a very reasonable change to me...

I started using an alternative solution: next-nprogress-bar, which does have options for this. Plus I wasn't sure if my implementation was the best it could be and did not have more time to spend on it.

@TheSGJ TheSGJ added the enhancement New feature or request label Mar 18, 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.

Delay progress bar if page is loaded within N ms disable nprogress on certain routes Disable behaviour for anchor tags

3 participants