You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable NextProgress on fast changing static pages #91
Is there a way to disable NextProgress when visiting pages that contain static content or were created with getStaticProps?
Navigating to those pages is so fast that I don't see the need to show the progress bar in those cases. Very similar to how it works in Gatsby.JS, where the progress bar is only shown when the request is taking time.
Thank you.
Reacted by Abdulhamit Akaslan, Olga Cygankowa, Minsung Kim and Jared Rhizor
Activity
eamonma commentedon Apr 19, 2023
@robertocerdasilva I had the same problem so I made a fork that waits for a certain amount of time before showing the bar. It adds a
debounceprop. https://www.npmjs.com/package/@approximant/next-progressimranbarbhuiya commentedon Apr 19, 2023
You can pr this feature here too if u want
kdiffin commentedon Apr 23, 2023
@eamonma thanks bud!
robertocerdasilva commentedon Apr 24, 2023
@eamonma Thank you so much! it's great
jeffminsungkim commentedon Jul 22, 2023
@eamonma Your great effort definitely needs to be submitted as a pull request to this library. Thanks man!