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

bug: CheckCircle2 Icon Overlapping Navbar on Scroll #1716

Open
karan-vaishnav opened this issue Jan 16, 2025 · 0 comments · May be fixed by #1717 or #1718
Open

bug: CheckCircle2 Icon Overlapping Navbar on Scroll #1716

karan-vaishnav opened this issue Jan 16, 2025 · 0 comments · May be fixed by #1717 or #1718
Labels
bug Something isn't working

Comments

@karan-vaishnav
Copy link

Describe the bug
When scrolling the page, the CheckCircle2 icon (used to indicate completion) remains visible above the navbar, which contains breadcrumbs. Instead of being hidden behind the navbar, the icon overlaps it. This occurs due to incorrect z-index values for the navbar and the card component, resulting in an improper stacking order.

Expected behavior
The CheckCircle2 icon should respect the stacking context and remain hidden behind the navbar when scrolling.

Screenshots or GIFs
Screenshot 2025-01-16 123157
Screenshot 2025-01-16 122446

Additional context
The issue arises because the z-index value of the navbar is equal to that of the CheckCircle2 icon. Setting the z-index of the navbar to 20 resolves the issue by ensuring it stays above the card and its components.

Note: For testing, I have created dummy content cards.

@karan-vaishnav karan-vaishnav added the bug Something isn't working label Jan 16, 2025
@karan-vaishnav karan-vaishnav changed the title bug: bug: CheckCircle2 Icon Overlapping Navbar on Scroll Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant