docs(collectionRepeat): add note about ng-show/ng-hide

This commit is contained in:
Andrew Joslin
2014-05-08 07:36:18 -06:00
parent 57d66b2a2d
commit 8759f64f61

View File

@@ -30,6 +30,7 @@
* 6. Each collection-repeat list will take up all of its parent scrollView's space.
* If you wish to have multiple lists on one page, put each list within its own
* {@link ionic.directive:ionScroll ionScroll} container.
* 7. You should not use the ng-show and ng-hide directives on your ion-content/ion-scroll elements that have a collection-repeat inside. ng-show and ng-hide apply the `display: none` css rule to the content's style, causing the scrollView to read the width and height of the content as 0. Resultingly, collection-repeat will render elements that have just been un-hidden incorrectly.
*
*
* @usage