2 ms·
Where it's appropriate, pull-to-refresh isn't unrelated functionality. In a reverse chronological listing, 'new' stuff is always at the top. Pull-to-refresh re
by systoll 10y ago
Where it's appropriate, pull-to-refresh isn't unrelated functionality.
In a reverse chronological listing, 'new' stuff is always at the top. Pull-to-refresh refreshes the listing, grabbing whatever could be placed 'above' the page, when you scroll past the top of what's currently loaded. it's just the other end of 'infinite scrolling'.
Triggering `location.reload()` when you scroll past the top is a bad idea -- about as appropriate as triggering `location = nextPage`, when you get to the bottom. But most pull-to-refreshes don't do that.