alvarotrigo / alvarotrigo/react-fullpage

Can't scroll outside the ReactFullPage.Wrapper on Next.js

Aperta
#424 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
JavaScript
Stelle
1.3k
Fork
172
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Description
I am working with Next.js and trying to use React Fullpage on the homepage. Everything is set up and working however if I add content outside of the wrapper I am unable to scroll to it. If I grab the scrollbar and pull it down I can see the content, but it just gets snapped back up to the last panel in the wrapper.

### Link to isolated reproduction with no external CSS / JS

*edit* reproduction here:
https://stackblitz.com/edit/nextjs-gwceuj?file=pages%2Findex.js

I wasn't sure how to set up a codesandbox for Next.js, but started a fresh Next.js project and added this to page.tsx:

```
"use client";
import ReactFullpage from "@fullpage/react-fullpage";

export default function Home() {
return (
<>
{
return (


hi




hi




hi




hi




);
}}
/>
OUTSIDE


);
}
```

### Steps to reproduce it
1. Setup Next.js app.
2. Replace code in /src/app/page.tsx with the above
3. Load the app.
4. Try and scroll down the page past the bottom 'section'

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.