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

Feature: Loading when scroll to top #20

Closed
Aron-YCS opened this issue Oct 15, 2016 · 15 comments
Closed

Feature: Loading when scroll to top #20

Aron-YCS opened this issue Oct 15, 2016 · 15 comments
Labels

Comments

@Aron-YCS
Copy link

Thanks for you library bringing convenience to my job. I encounter a situation that need support of loading from top of scroll element.As lack of feature in this library, I can only implement it by my own,really time wasting.
I think this is quite a useful and necessary functionality.I just hope this library can be better and add it. Thanks again for your effort.

@PeachScript
Copy link
Owner

PeachScript commented Oct 15, 2016

Glad you like this plugin.

There has the seem issue #8 already. I thought a lot after that, but I cannot imagine any situation which need an infinite scroll up plugin, because of such the plugin more like pull-refresh plugin rather than infinite scroll plugin. Perhaps I missed some situations, what do you think about it?

If you have actual situation and it really need an infinite scroll up plugin, please describe to me, thanks!

@julianfox
Copy link

+1

About my situation, I have to load more pages of a book where the user can go directly to the page 10 (for example) in this case I have to load the page 11 if the user scroll down and the page 9 if the user scroll top...

Thanks for this component :-)

@PeachScript
Copy link
Owner

PeachScript commented Oct 24, 2016

@julianfox Glad your like this component and thanks for your comment :P.

I understood your situation and it does exist, but in my mind, we need to pull down or pull up to load another page rather than scroll down or scroll up directly when using some apps, is that right?

@PeachScript
Copy link
Owner

I will close this issue until we found some situations that really needed the feature in this component, thanks everyone :D

@znck
Copy link

znck commented Nov 9, 2016

Scroll up infinitely is required in messenger/chat apps, where you scroll up to load old messages.

@PeachScript
Copy link
Owner

@znck well, I think you're right, the iMessage App of iOS is like that, it will load old messages automatically when I scroll up.

I will reopen this issue and add this feature in the todo list, thank you!

@vlahde
Copy link

vlahde commented Nov 24, 2016

Thanks for the great component! I am also desperately looking a way to reverse distance so that infinite-loading would be triggered if clients scroll is over a certain amount of pixels from the bottom or under the certain amount of pixels from the top. I am developing a chat application and old chat messages are loaded when user hits the top of the chat area. So there is a need for this feature :)

@charliewolf
Copy link

👍 we could also use this feature!

@PeachScript
Copy link
Owner

PeachScript commented Jan 13, 2017

Hello everyone, I released a new version v1.3.0 to support two direction load feature, the documentation is at the bottom of this page, please try it, if it's ok, I will add it to the v2.0.0 version.

Sorry, this feature was late for too long, thank you a lot : )

@charliewolf
Copy link

@PeachScript Does that mean it's only compatible with Vue 1.0? How hard would it be to backport (well, forward-port, I guess) the changes?

@PeachScript
Copy link
Owner

PeachScript commented Jan 13, 2017

@charliewolf Right, I plan to support Vue.js 2.0 after this feature being stable, and it's very simple, see file changes, if you need, I can add it to v2.0.0 recently.

@charliewolf
Copy link

@PeachScript Got it--well, I can only speak for myself obviously, but the app I could test this with is using Vue2.

@PeachScript
Copy link
Owner

PeachScript commented Jan 18, 2017

@charliewolf Hello, I've added this feature into the latest stable version v2.0.0, support Vue.js 2.0, you can test it in your app now.

@vlahde
Copy link

vlahde commented Jan 22, 2017

Thank you so much for this new feature! Works like a charm!

@PeachScript
Copy link
Owner

@vlahde You're welcome : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants