Skip to content

Instantly share code, notes, and snippets.

@amcdnl
Created April 14, 2018 15:30
Show Gist options
  • Save amcdnl/cc21814b5c90501045585281e183f53a to your computer and use it in GitHub Desktop.
Save amcdnl/cc21814b5c90501045585281e183f53a to your computer and use it in GitHub Desktop.

Virtual Scroll Feedback

  1. Need a null check here - https://github.com/angular/material2/blob/virtual-scroll/src/cdk-experimental/scrolling/virtual-for-of.ts#L71
  2. Passing observable doesn't work - https://github.com/angular/material2/blob/virtual-scroll/src/cdk-experimental/scrolling/virtual-for-of.ts#L74
  3. Need coherse this - [itemSize]="50"
  4. Autosize throws error: Uncaught TypeError: view.rootNodes[j].getBoundingClientRect is not a function
  5. measure bottle neck performance - https://www.screencast.com/t/sXrrAEVN
  6. Make this lazy so if the offset hasn't changed since last, don't update - https://www.screencast.com/t/BZiR2LTYro ===> proposal - https://www.screencast.com/t/xhXla83Yd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment