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 "delay" component prop #18

Closed
wants to merge 1 commit into from
Closed

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
3 participants