I have a problem. I connected Fullpage.js, scrolling through sections works and everything is fine. But I have to make it so that the first section scrolls smoothly to the 2nd, in 2, 3, 4 - the scroll was normal, then the 5+ sections smoothly scrolled again.

normalScrollElements: '# element2' - not suitable. Somehow it "not really" scrolls adjacent scrolling sections. scrollOverflow: true - also does not fit.

Are there any other options besides normalScrollElements, scrollOverflow? Thank.

  • Will it work? - Ilya Zelenko
  • Hello. This is through scrollOverflow, it is not suitable for the fact that the block scrolling goes all the same in a section with a height of 100vh. And you need to have 3 sections that are 100vh in height, just start scrolling, like on a regular page. As if when it was scrolling to the 2nd section - fullpage.js was cut down and then turned on again where necessary ( - Fullzz
  • If it is possible to dynamically set autoScrolling and if it is possible to determine which block is now, then you can try to determine the block and set this property dynamically. - Ilya Zelenko
  • Merge sections 2-4 into one and add it to normalScrollElements ? - zhurof
  • jsfiddle.net/Fullzz/26uo8vbz/22 look at this, I’m scrolling down the 1st screen down to the second one - fine. And then try this 2nd scroll up. It does not go smoothly up and you need to scroll through the screen. That is why it does not fit. - Fullzz

0