You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
I wrap the md-virtual-repeat-container in a div with ng-show so I can hide the whole block when my list has no elements. I then fetch my elements with AJAX and fill my list which shows the block. The control incorrectly gets a height of 0 (and default to NUM_EXTRA height).
updateIndexes_ method
this.container.getSize() evaluates to 0
I wrap the md-virtual-repeat-container in a div with ng-show so I can hide the whole block when my list has no elements. I then fetch my elements with AJAX and fill my list which shows the block. The control incorrectly gets a height of 0 (and default to NUM_EXTRA height).
updateIndexes_ method
this.container.getSize() evaluates to 0
material/src/components/virtualRepeat/virtual-repeater.js
Lines 724 to 734 in acbf293
Here is a fiddle to demonstrate the error against master branch
http://jsfiddle.net/elubin/d0wsmLqn/
The text was updated successfully, but these errors were encountered: