Hi Alvaro,
When paddingTop is used with scrolloverflow, a bottom padding occurs on window resize.
https://codepen.io/anon/pen/bjobOY
Chrome, Firefox
Thank you,
Thanks for reporting it!
I'll take a look at it!
Fixed on the dev branch! To be merged in the next release.
Hi Alvaro,
There might be an error here. On resize, it gives an error as
scrolloverflow.js:2529 Uncaught ReferenceError: options is not defined
at Object.update (VM67 scrolloverflow.js:2529)
at createScrollBar (VM67 scrolloverflow.js:2268)
at VM67 scrolloverflow.js:2305
at NodeList.forEach (<anonymous>)
at forEachSectionAndSlide (VM67 scrolloverflow.js:2297)
at scrollBarHandler.createScrollBarForAll (VM67 scrolloverflow.js:2227)
at reBuild (VM47 fullpage.js:483)
at VM47 fullpage.js:2426
The error is not available on the master branch scrolloverflow.js but it can be seen via dev branch scrolloverflow.js.
https://codepen.io/anon/pen/YORrrN
Steps to reproduce it
Thank you,
@meceware thanks for reporting it! Kinda weird I do not get the error message on the console on my computer using my own testing page with your exact same setup.
However, this last commit should fix it. Let me know if it is all ok now.
@alvarotrigo Yeah that's fixed now. I was going to suggest using iscrollHandler.fullpageOptions but I thought you were thinking something else with the options.
Thank you,
@meceware 馃槃 glad you though to solve it in the same way!
Btw, gonna make a new release by the end of this week! Enough fixed bugs to justify it!
@alvarotrigo Looking forward to it :)
Fixed in the latest version 3.0.3