react-full-page icon indicating copy to clipboard operation
react-full-page copied to clipboard

next.js FullPage.getChildrenCount calculation error

Open juyeong1260 opened this issue 7 years ago • 0 comments

i have a problem when i use with next.js.

  • when i saw react-full-page source code, i understand that the code compare with children and Slide then pass the same element's length to _slideCount. and we can slide as _slideCount's size    - 2018-05-22 1 25 42

but, when i run my code with next.js, the next.js pass another value to the children in my code (Slide).

  • this is children's shape    - 2018-05-22 1 19 02

  • this is _Slider.default shape    - 2018-05-22 1 19 26

So, _slidesCount is 0 becauseof the difference of each component's shape. And the slide does not work.

please help🙏

juyeong1260 avatar May 22 '18 04:05 juyeong1260