alvarotrigo / alvarotrigo/react-fullpage

Scroll back to to first section after page refresh

Abierto
#355 1 comentario 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
JavaScript
Estrellas
1.3k
Forks
172
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi there!

I have a Next.js build using custom validation to control the user's movement between sections. (it's a quiz)

The problem is that when the page is refreshed, all state data is lost breaking the dynamic content generated based on interactions in previous sections. I'd like it so that when the user refreshes their browser, they are returned to #Section1

I've tried the methods in the docs and they work momentarily after refresh, but then react-fullpage quickly slides back down to the side the user was on before refresh. I wonder if this is to do with the anchor tag in the URL?

Please help me understand what I'm missing here.

Cheers!

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.