Loading indicator delay
anubra266 opened this issue · comments
It's often preferable to delay showing the loading indicator until a request has taken longer than 250ms-500ms. This prevents the loading indicator from appearing constantly on quick page visits, which can be visually distracting.
<NextNprogress
color="#29D"
startPosition={0.3}
delayMs={250}
stopDelayMs={200}
height="2"
/>