Open in app
Adrian Jost
15 Followers
About

Sign in

15 Followers
About
Open in app
Adrian Jost

Adrian Jost

Jun 15, 2019·1 min read

Really nice article! You just missed one point. You still need to test if the user has scrolled already to the top, before applying your logic. Otherwise the loading is triggered even if you just want to scroll back to the top.

Adrian Jost

https://adrianjost.dev

Pull to refresh animation with Vanilla JavaScript
175
1

Vijit Ail

More from Adrian Jost

https://adrianjost.dev

More From Medium

My Journey of Writing a Web-Camera App That Works Like Native

Adrian Jost in The Startup

Chris Hemsworth Is Exactly What’s Wrong With The Fitness Industry

Daniel Hopper in Better Marketing

The Future is More Terrifying Than We Can Imagine

Alastair Isaacs in Predict

Five Signs of a Highly Intelligent Person

Sean Kernan in Mind Cafe

Why Is The Age of Consent in Japan Only 13-Year-Old?

Isaiah McCall in History of Yesterday

The Fate Of Elon Musk’s Assistant Is A Cautionary Tale For Negotiating Salary

Nick Wolny in Entrepreneur's Handbook

The Sexiest Job of the 21st Century Isn’t “Sexy” Anymore

Nishi Kashyap in ILLUMINATION

The Exact Steps I Followed to Make $1,500+ of Passive Income Every Month

Julia Horvath in Entrepreneur's Handbook

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store