Description
Description
Fullpage scrolls up and down naturally and beautifully. And as expectedly, it cannot scroll up when it is already on the first section as there is no place to scroll up to.
But, I'm in need of detecting this particular action/event.
Is there an API call to detect that user did perform a scroll up (or swipe up) action while he was on section 1?
A good use case for this would rise when one needs to build a UI like "pull to refresh" that we are accustomed to from mobile UIs ( though my need is completely different )
Link to isolated reproduction with no external CSS / JS
[Ideally in jsfiddle.net (https://jsfiddle.net/alvarotrigo/ea17skjr) or codepen.io (https://codepen.io/alvarotrigo/pen/NxyPPp), links to personal websites won't be reviewed unless isolated. Reported issues without a reproduction might get closed.]
Steps to reproduce it
- [First step]
- [Second step]
- [and so on...]
Versions
[Browser, operating system, device, ...]