question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Virtual scroll start on bottom

See original GitHub issue

It’d be very useful (an unblocker for my use case) if the CDK virtual scroller supported an option to start off scrolled to the bottom instead of the top.

With non-virtual scrolling there are plenty of workarounds to achieve something to this effect, but with virtual scrolling (and autosize) I can’t see an obvious way to accomplish it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
btxtigercommented, Nov 2, 2018

Hmm it works, but it’s really not optimal. When building chat apps, there will always be a scroll animation onload. @buu700 But thanks for fast replying 😉

0reactions
angular-automatic-lock-bot[bot]commented, Sep 10, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scroll to bottom with cdk-virtual-scroll (Angular 8)
The solution given by Gourav Garg works. Simply by executing twice the scroll function. I am doing this now: private _scrollToBottom() { ...
Read more >
Scrolling | Angular Material
Virtual scrolling is different from strategies like infinite scroll where it renders a set amount of elements and then when you hit the...
Read more >
Angular Cdk Programatically Scroll - StackBlitz
'@angular/cdk/scrolling';. type Position = 'start' | 'mid' | 'end';. /** @title Fixed size virtual scroll with. custom buffer parameters */. @Component({.
Read more >
How to use Virtual Scrolling using Angular 7 CDK - Medium
NOTE: Virtual Scroll is simply a strategy that can be used inside a list or even infinite scroll. It has nothing to do...
Read more >
overscroll-behavior - CSS: Cascading Style Sheets | MDN
This is the inner container. Focus on this container, scroll to the bottom and when you reach the bottom keep scrolling. If you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found