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

Navigation Bug: 'About Me' Section Active State Incorrectly Shows 'Skills' When Navigating to 'About Me' Page #1009

Open
tenthin opened this issue Oct 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tenthin
Copy link

tenthin commented Oct 29, 2024

Expected Behavior

When a user clicks on the "About Me" section in the navigation menu:

The user should be directed to the "About Me" page.
The navigation menu should visually indicate that the "About Me" section is active (e.g., by highlighting it or changing its style).
Any other sections (e.g., "Skills") should not appear active at this time.
This ensures that users have a clear and accurate understanding of their current location within the website.

Current Behavior

When a user clicks on the "About Me" section in the navigation menu:

The user is successfully directed to the "About Me" page.
However, the navigation menu incorrectly shows the "Skills" or "Home" section as active, instead of highlighting the "About Me" section.
This creates confusion for users, as it does not accurately reflect their current page in the navigation menu.

Possible Solution

To resolve the navigation issue, implement the following changes:

Update Active State Logic:

Modify the navigation logic to ensure that when the "About Me" page is loaded, the active state of the navigation menu updates correctly to highlight the "About Me" section.
Check Route Matching:

Ensure that the routing mechanism correctly identifies the current page and sets the corresponding menu item as active. This may involve checking the URL or route parameters.
CSS Adjustments:

Review and adjust the CSS styles associated with the active state to ensure that the correct section is visually highlighted.
Testing:

After implementing the changes, thoroughly test the navigation menu by clicking on each section to confirm that the active state updates correctly for all pages.

Screenshots

Browsers Affected

  • [*] Chrome

Screenshot 2024-10-29 142729

Detailed Description

@joyao joyao added the bug Something isn't working label Oct 31, 2024
@joyao
Copy link
Member

joyao commented Oct 31, 2024

Thank you @tenthin for reporting. We will take a look soon.

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
Development

No branches or pull requests

2 participants