alvarotrigo / alvarotrigo/react-fullpage
Not ending up on the first section after Next.js page transition
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.3k
- Forks
- 172
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Description
Hello! I recently upgraded to v4 when I noticed this issue, the bug is not in v3.
I have multiple pages in Next.js with different fullpage sections, when doing a page transition I'm not always ending up on the first section.
https://user-images.githubusercontent.com/1552194/168397655-5cb7a63b-3103-4372-8e43-aaced4cd0651.mov
### Reproduction
https://codesandbox.io/s/react-fullpage-page-transition-bug-5qre5d?file=/components/fullpage.js
(might need to open a new terminal and run `yarn start` and open a new browser in `:3001`, seems to be some issue with CodeSandbox)
### Steps to reproduce it
1. Click down the sections until you get to the last section
2. Click link to the second page
3. See that you end up on section number 2 and not the first one
### Versions
Chrome, Mac OS
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.