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 am playing with the new virtual repeat (which imo should be part of ng-repeat, since it's so awesome), but I am having a weird problem that it doesn't render anything until you scroll.
I.e. I see the container and everything, and the scrollbar is there (and is calculated effectively), but it's empty until I scroll once and then it's back to normal.
Also, another issue, I am trying to use md-auto-shrink, and if I don't specify a height to the md-virtual-repeat-container it doesn't have a height at all (i.e. 0).
I am getting the items from the server, they aren't present immediately.
Also if you remove the height you can see my other issue, maybe worth separating them.
Edit: I played with it some more, the auto height seems to work, but the init phase is weird, it has to have items AND some starting height for it to work.
Also, the md-virtual-repeat-scroller suffers from extra height due to line breaks (i.e. setting font-size to 0 fixes this but f*** up everything else inside), so when there is only 1 item, the auto shrink works but the scroll bar is still there.
The text was updated successfully, but these errors were encountered:
I am playing with the new virtual repeat (which imo should be part of ng-repeat, since it's so awesome), but I am having a weird problem that it doesn't render anything until you scroll.
I.e. I see the container and everything, and the scrollbar is there (and is calculated effectively), but it's empty until I scroll once and then it's back to normal.
Also, another issue, I am trying to use md-auto-shrink, and if I don't specify a height to the md-virtual-repeat-container it doesn't have a height at all (i.e. 0).
I am getting the items from the server, they aren't present immediately.
You can see the issue here: http://plnkr.co/edit/JN1VbZhHmYYnwhGNNSXl?p=preview
Also if you remove the height you can see my other issue, maybe worth separating them.
Edit: I played with it some more, the auto height seems to work, but the init phase is weird, it has to have items AND some starting height for it to work.
Also, the md-virtual-repeat-scroller suffers from extra height due to line breaks (i.e. setting font-size to 0 fixes this but f*** up everything else inside), so when there is only 1 item, the auto shrink works but the scroll bar is still there.
The text was updated successfully, but these errors were encountered: