Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Jul 29, 2024
1 parent 26ddcbc commit 615f733
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions projects/scroll-strategies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,13 @@ export class ScrollStrategiesPage implements OnInit {
```

Other than this, it works the same way as `@angular/cdk/scroll`.


# FQA
## Why don't use `autosize` directive?

`autosize` directive use average item size. This is not support "item size is changed" "item is removed". Because don't have item size cache.

https://github.com/angular/components/blob/main/src/cdk-experimental/scrolling/auto-size-virtual-scroll.ts#L49C3-L59

Dynamic size can be specified for more flexible application design.

0 comments on commit 615f733

Please sign in to comment.