Skip to content

fix(ui): adds delay to progress bar for fast networks#11157

Merged
jacobsfletch merged 3 commits into
mainfrom
fix/progress-bar-initial-delay
Feb 13, 2025
Merged

fix(ui): adds delay to progress bar for fast networks#11157
jacobsfletch merged 3 commits into
mainfrom
fix/progress-bar-initial-delay

Conversation

@jacobsfletch

@jacobsfletch jacobsfletch commented Feb 13, 2025

Copy link
Copy Markdown
Member

On fast networks where page transitions are quick, such as local dev in most cases, the progress bar should not render. This leads to a constant flashing of the progress bar at the top of the screen and does not provide any value.

The fix is to add a delay to the initial rendering of the progress bar, and only show if the transition takes longer than n milliseconds. This value can be adjusted as needed, but right now is set to 150ms.

Introduced in #9275.

@jacobsfletch jacobsfletch merged commit de68ef4 into main Feb 13, 2025
@jacobsfletch jacobsfletch deleted the fix/progress-bar-initial-delay branch February 13, 2025 17:35
jacobsfletch added a commit that referenced this pull request Feb 17, 2025
On fast networks where page transitions are quick, such as local dev in
most cases, the progress bar should not render. This leads to a constant
flashing of the progress bar at the top of the screen and does not
provide any value.

The fix is to add a delay to the initial rendering of the progress bar,
and only show if the transition takes longer than _n_ milliseconds. This
value can be adjusted as needed, but right now is set to 150ms.

Introduced in #9275.
@github-actions

Copy link
Copy Markdown
Contributor

🚀 This is included in version v3.24.0

kendelljoseph pushed a commit that referenced this pull request Feb 21, 2025
On fast networks where page transitions are quick, such as local dev in
most cases, the progress bar should not render. This leads to a constant
flashing of the progress bar at the top of the screen and does not
provide any value.

The fix is to add a delay to the initial rendering of the progress bar,
and only show if the transition takes longer than _n_ milliseconds. This
value can be adjusted as needed, but right now is set to 150ms.

Introduced in #9275.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant