Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull to refresh behavior #51

Closed
LinusU opened this issue Apr 26, 2014 · 6 comments
Closed

Pull to refresh behavior #51

LinusU opened this issue Apr 26, 2014 · 6 comments
Labels

Comments

@LinusU
Copy link

LinusU commented Apr 26, 2014

First of all, great framework! I'm impressed.

I would like to propose a change in the behavior of pull to refresh. In newer apps made by Apple, you don't have to actually let go to start loading. When you drag down enough it will automatically start the loading, and then you can let go whenever you want.

I think that it's better because it starts the loading earlier and thus makes the app feel more responsive.

@nolimits4web
Copy link
Member

Hi,
But the current behavior we can see in lot of most popular iOS apps like Facebook and Twitter. As about your behavior, the only app is on my mind with such behavior is only Mail app, which else?

@LinusU
Copy link
Author

LinusU commented Apr 26, 2014

Hmm, I thought that all newer Apple apps used this and that this was "the new way to do it". I might be wrong thought. Would be nice if we can add in a simple option for this :)

@nolimits4web
Copy link
Member

Yes, i see it only in Mail app. So if such behavior will have more requests, i will realize it

@hollingberry
Copy link

Hi all - the behavior that Linus is talking about is the built-in behavior
of the UIRefreshControlhttps://developer.apple.com/library/ios/documentation/uikit/reference/UIRefreshControl_class/Reference/Reference.htmlelement.
Like mentioned, you don’t see this behavior in Twitter and
Facebook because they implement their own, custom refresh control.

The native UIRefreshControl is probably one of the most difficult
animations to replicate, even if the refresh-without-letting-go
characteristic is not. I think that since the Framework7 pull-to-refresh
implementation is closer to what you might see in Twitter or Facebook, we
should leave it as it is.

Nice work again on your awesome framework!

@JJJ
Copy link
Contributor

JJJ commented Jul 30, 2014

iOS8 does tweak these animations slightly (and in a difficult to emulate with JS/CSS kinda way) so I recommend closing this and revisiting this when iOS8 launches.

@lock
Copy link

lock bot commented Jun 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the outdated label Jun 26, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jun 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants