Skip to content

User Icon Stays Selected After Using Browser Back Button #129

@krishagandhi0711

Description

@krishagandhi0711

Describe the bug

When a user opens the Profile section by clicking on the user icon in the navigation bar and then goes back using the browser back button, the user icon remains highlighted/selected. It only gets deselected if the user clicks somewhere else on the page.

To Reproduce

Steps to reproduce the behavior:

  1. Click on the user icon in the navigation bar.
  2. Navigate to the Profile section.
  3. Use the browser back button to return.
  4. Observe that the user icon is still highlighted/selected.

Expected behavior

The user icon should automatically return to its default (unselected) state after navigating back using the browser back button.

Additional context

This issue creates a confusing UI experience because the user icon appears active even when the user is no longer on the Profile page.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions