-
Notifications
You must be signed in to change notification settings - Fork 108
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
Scroll up #38
Comments
This issue could be solved through some special directive placed on ui-scroll viewport element.
I've created a demo on it: http://jsfiddle.net/dhilt/z11bg2jj/1/ and hope that this is what you needed. |
thank you bro |
Динис только мне нужно не вообще запретить наверх подниматься а что бы On Thu, Dec 3, 2015 at 4:28 PM, Denis Alexanov [email protected]
|
@dhilt Hi and thanks for this directive, I love it! I'm trying to implement upscrolling (like in chat for instance). Where you start at index 0 or 1(bottom) and then you go up to index -1, -2, -3, .... ,-123, eof. However upscroll freezes/lags at some point and I can go to upper indexes only when I scroll faster. I've created plunker that demonstrates the problem: I'm not shure if problem is on my side, or someone else experiencing same thing. Or if it's related to issue #36 . I'm not good at cofeescript but I think that my implementation of datasource is same as yours in demos. |
@jgluhov In that case I'd like to say that this is Server side issue, and all you need is just to determine proper bof. On Client side this also can be done via datasource implementation:
And this example demonstrates such datasource bof playing (with min index = -40). |
Thank you bro
|
@Mastanka There are two problems with your demo. I've forked it and fixed: http://plnkr.co/Awcnyud2c2SIYUemLBjN.
To make this variant completely identical to your one (I mean view) you should also adjust styles of 1st and last rows to remove very top and very bottom borders.
where initialOffset is set to -10 to initiate proper items fetching. So, please go through http://plnkr.co/Awcnyud2c2SIYUemLBjN and hope it helps. |
@dhilt Thanks man! It work as expected after you changes :) 👍 |
Wow I was wondering about it , thank u man |
How to turn off scroll up ???
The text was updated successfully, but these errors were encountered: