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

[Request] infinite-scroll loading when scroll to top #2612

Closed
snowyu opened this issue Sep 25, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@snowyu
Copy link
Contributor

commented Sep 25, 2018

Add a direction poperty to load data when scroll to top or bottom.

<q-infinite-scroll direction='top'>
    <q-spinner-dots slot="message" :size="40"/>
    <q-chat-message
      v-for="(msg, index) in messages"
      :key="`reg-${index}`"
      :label="msg.label"
      :sent="msg.sent"
      :text-color="msg.textColor"
      :bg-color="msg.bgColor"
      :name="msg.name"
      :avatar="msg.avatar"
      :text="msg.text"
      :stamp="msg.stamp"
    />
</q-infinite-scroll>
@zsykd03

This comment has been minimized.

Copy link

commented Sep 26, 2018

I also wait for this function,

rstoenescu added a commit that referenced this issue Apr 1, 2019

feat(QInfiniteScroll): Enable loading in reverse (#2612) (#3732)
* feat(QInfiniteScroll): Enable loading in reverse

ref #2612

* Update QInfiniteScroll.js

* Update QInfiniteScroll.json

* Update infinite-scroll.md

* Update QInfiniteScroll.js
@rstoenescu

This comment has been minimized.

Copy link
Member

commented Apr 1, 2019

Will be available in beta.15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.