[Bug]: Browser back button not working properly when navigating from /learn to main page
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 11.8k
- Forks
- 7.9k
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 11
Descripción
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:
- Go to http://localhost:3000/learn
- Click on "Quick Start" (or any other learning section)
- Click the browser's back button
- Expected: Should return to http://localhost:3000/
- 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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza reproduciendo en Chrome el flujo desde /learn hasta Quick Start y de vuelta a la página principal. Después, inspecciona el enrutamiento del lado del cliente con Next.js de la sección de aprendizaje y compáralo con la navegación de enlaces de fragmento corregida recientemente. Se considera terminado cuando el botón Atrás del navegador vuelve desde una página de aprendizaje a http://localhost:3000/ como se espera.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, next.js
- Área
- frontend, web-dev
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100