Skip to content

[Bug] Navigation Bar Links Fail to Redirect User from Consultation Page #335

Description

@samrat21saha

Navigation Bar Links Fail to Redirect User from Consultation Page

🐛 Bug Description

When a user navigates to the Consultation page, subsequent clicks on any other link in the main navigation bar do not successfully redirect the user to the intended destination pages. The user is stuck on the Consultation dashboard.

💻 Steps to Reproduce

  1. Navigate to the application's homepage.
  2. Click the "Consultation" link in the navigation bar.
  3. Once on the Consultation page (Doctor Dashboard), click on any other link in the main navigation bar, such as:
    • "Home"
    • "About"
    • "News"
    • "Care Co-Pilot"
    • "Growth Tracker"
    • "Contributors"
    • ... and others

✅ Expected Behavior

The application should successfully redirect the user to the page corresponding to the clicked navigation bar link (e.g., clicking "Care Co-Pilot" should load the Care Co-Pilot page). The URL in the address bar should update.

❌ Actual Behavior

After clicking any navigation bar link from the Consultation page, the user remains on the Consultation page. The URL may not change, or it may briefly change before reverting/failing to load the new content, indicating a routing failure.


🎥 Screen Recording

Image


💡 Possible Cause (For Developers)

This issue likely stems from a problem in the routing configuration or a component-specific issue on the Consultation page that is preventing standard navigation events. Developers should check:

  • Router link implementations on the navigation bar.
  • Any event handlers or lifecycle methods in the Consultation component that might be intercepting or blocking default navigation behavior.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions