alvarotrigo / react-fullpage

Official React.js wrapper for fullPage.js https://alvarotrigo.com/react-fullpage/
GNU General Public License v3.0
1.29k stars 178 forks source link

Keyboard scrolling not working in v4 #336

Open gustavlrsn opened 2 years ago

gustavlrsn commented 2 years ago

Description

I'm having issues getting keyboard scrolling to work in v4

Link to isolated reproduction with no external CSS / JS

https://codesandbox.io/s/react-fullpage-keyboard-scrolling-bug-enzwfq

Steps to reproduce it

  1. Try keyboard scrolling with down arrow or space bar, nothing happens

Versions

Chrome, macOS

alvarotrigo commented 2 years ago

Can you reproduce the issue on this codesandbox? https://codesandbox.io/s/m34yq5q0qx

I don't seem to be able to.

gustavlrsn commented 2 years ago

@alvarotrigo in your codesandbox it is working, maybe it is due to Next.js in my reproduction somehow?

alvarotrigo commented 2 years ago

I'll need to investigate further.

skoteskote commented 2 years ago

Any estimate on when this will be resolved? We need this feature to be able to upgrade to v4.

alvarotrigo commented 2 years ago

@skoteskote I wasn't able to reproduce the issue on my side using Next and React with exactly the same setup as on the codesandbox.

Can you try outside codesandbox to see if the issue is on the codesandbox code or iframe?

gustavlrsn commented 2 years ago

@alvarotrigo This seems to be fixed in 0.1.27, at least when testing locally. Still not working in the codesandbox, but is probably due to codesandbox or the iframe as you say.

I'll close this issue, thank you!

alvarotrigo commented 2 years ago

Awesome to hear! 👍

gustavlrsn commented 2 years ago

Still an issue, I was mistaken in that it was solved.

alvarotrigo commented 2 years ago

Try the latest version of react-fullpage.js 0.1.29. Just released it today including fullPage.js 4.0.12