Closed leabaty closed 2 years ago
Does fullpage.js allow the use of components as content for the sections in a react app?
For React questions please use react-fullpage issues instead.
I would like to be able to apply the scrolloverflow option on a component (nested in a "section").
ScrollOverflow applies to the section. Not quite sure what you mean by "a component nested in section."
What's the resulting HTML of your react app?
Does fullpage.js allow the use of components as content for the sections in a react app?
For React questions please use react-fullpage issues instead.
Thank you for the quick replies, sorry for the wrong category. Should I move it before continuing this thread and let you delete this one ?
I moved it for you :)
You can try to reproduce the issue in Codesandbox with no CSS or JS files external to fullPage.js and the minimum amount of HTML code. Use empty sections unless strictly necessary for the reproduction.
Oooookay - so, there seem to be an issue with my CSS files for the first two questions... and regarding the third one - it was an issue with the token that cannot take any backspace.
Consider everything solved : Fullpage.js works perfectly well with components, and inside App.js with react.
If anyone is searching for that, here is my codepen : https://codesandbox.io/s/white-night-i3z8eo
Have a great day ! 🌞
Glad to know you've found the answers :) Isolated reproductions tend to save me many times too!
Description
Hello there,
First of all, thank you for this nice tool. I've tried to fiddle a bit with it, reading the docs, but there are some things I can't seem to resolve, so any help would be welcome :)
I'm trying to use fullpage.js for my react app. I've implemented it in the App.js.
Here are my issues :
So, the main question would be : Does fullpage.js allow the use of components as content for the sections in a react app ?
Thank you very much !
Code snippet
Structure of where fullpage.js is implemented (App.js) :