-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
feat (template): implement scrollToEnd #1697
Comments
hmm the desire outcome is just to scroll at the bottom on initial load. ❤️ which your pr already solved.. ill just put 9999. I'm using it for logs. [other desired outcome hmmm]
|
what do you mean by always? |
Or just make it boolean ignore initial..
it will be nice if its built in.. for log type usages. |
that's actually a good idea |
the
renderCallback
inrxfor
andrxVirtualFor
is quite a transition to work with.. i can do scroll to bottom in rxfor but on rxVirtualFor its glitching out. because rxVirtualFor keeps calling renderCallback. I think thats by design I guess.whats the proper way to scroll to bottom. using rxVirtualFor.
i just want to start from the bottom.
both buggy.. like
this.elementRef.nativeElement.scrollTo(0, this.elementRef.nativeElement.scrollHeight);
works but sometimes its almost there. like u need a bit more scroll to be considered bottom. but on rxfor works fine.this.viewport.scrollToIndex(this.items$().length)
is aggressive to use at rxVirtualFor callback i cant even scroll anymore.The text was updated successfully, but these errors were encountered: