diprokon / ng-table-virtual-scroll

Virtual Scroll for Angular Material Table
https://diprokon.github.io/ng-table-virtual-scroll
MIT License
139 stars 42 forks source link

Set "streamsReady" to true after init #29

Closed zauni closed 4 years ago

zauni commented 4 years ago

The streamsReady field has to be set to true after initialization because in a weird edge case it resulted in a bug so that the sort would not work at all because dataToRender$.next(data) (line 41) didn't cause the desired emitting of the data in the TableItemSizeDirective in the connectDataSource method.

zauni commented 4 years ago

@diprokon Do you think this can be merged? Would be really cool to have it in an offical release :)