-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading icon of infinte-scroll not showing with collection-repeat #2376
Comments
👍 Ran into the same problem, seems like those 2 directives don't play along nicely. |
@bra1n I think is the |
I'm still experiencing this problem with beta-13. |
hotfix
add this before line 1071 |
yeah @lanceli good job thankyou |
@perrygovier @ajoslin |
I'm experiencing this problem with nightly build. |
I don't see a problem with http://codepen.io/anon/pen/CBtEg in the nightly builds. What's wrong? |
@ajoslin |
Fixed. Had to set the items after the collection repeat to display: block to make them always get the right size. |
It seems that this issue appears again in rc.5. The icon shows when using ng-repeat but not collection-repeat |
Yep. This worked in 1.0rc1 and is broken in 1.0. |
+1, broken for me in 1.0 |
+1 for me |
Broken for me as well with ng-repeat 😿 |
Broken for me too with 1.0 ;) |
+1 reopen! |
Broken for me with latest 1.0 |
+1! |
@perrygovier @ajoslin Any update on when this may be fixed or a work around? |
BUMP |
UP! +1! |
For me a simple workaround did the trick until it is fixed: ion-infinite-scroll:not(.active) .spinner,
ion-infinite-scroll:not(.active) .icon:before {
display: inline-block;
} It is not mandatory that the icon is only visible if the <ion-infinite-scroll ng-show="showInfinite" icon="ion-load-c" on-infinite="loadData()">
</ion-infinite-scroll> |
ion-infinite scrolling is not working for me in v1.1.0 for vs2015 package of phongeap! |
Using
ng-repeat
(loading icon appears): http://codepen.io/anon/pen/CBtEgUsing
collection-repeat
(doesn't appear): http://codepen.io/matiastucci/pen/wkECsProbably because of this?:
"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."
I know this is something small, but if you can fix it: great!
Thanks!
The text was updated successfully, but these errors were encountered: