Header z-index Prevents Smooth Progress Bar Transition #144
Unanswered
ohprettyhak
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've applied bprogress (Next.js App Router) to my project. However, when I set a
z-indexandbackground-colorfor the header component, the progress bar exhibits a choppy disappearance as shown below.Screen.Recording.2025-03-26.at.20.39.50.mov
Below is a portion of the CSS code for my header component (using vanilla-extract):
Additionally, I am using the
Providerin the following way:I attempted to resolve the issue by adjusting the
z-indexof the bprogress class, but it didn't work. Is there any solution available?Beta Was this translation helpful? Give feedback.
All reactions