Skip to content

[Bug]: Browser back button not working properly when navigating from /learn to main page #8021

@DipakHalkude

Description

@DipakHalkude

Summary

Problem: When navigating from http://localhost:3000/learn to a specific learning page (like Quick Start), clicking the browser's back button does not return to the main page at http://localhost:3000/ .

Steps to Reproduce:

  1. Go to http://localhost:3000/learn
  2. Click on "Quick Start" (or any other learning section)
  3. Click the browser's back button
  4. Expected: Should return to http://localhost:3000/
  5. Actual: Does not navigate back to main page

Browser: Chrome

Page

http://localhost:3000/learn

Details

Additional Context: This appears to be a navigation history issue where the browser's back button functionality is not working as expected when moving between the main page and learning sections. The issue might be related to how Next.js handles client-side routing in the learning section.

Possible Related Issues:

  • Similar to the fragment link back button issue that was recently fixed
  • May involve scroll restoration or navigation state management

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions