Loading icon of infinte-scroll not showing with collection-repeat
See original GitHub issueUsing ng-repeat
(loading icon appears): http://codepen.io/anon/pen/CBtEg
Using collection-repeat
(doesn’t appear): http://codepen.io/matiastucci/pen/wkECs
Probably 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!
Issue Analytics
- State:
- Created 9 years ago
- Comments:24 (2 by maintainers)
Top Results From Across the Web
Loading icon of infinte-scroll not showing with collection- ...
Fixed. Had to set the items after the collection repeat to display: block to make them always get the right size.
Read more >Infinite scrolling and collection-repeat / spinner not shown
Using ng-repeat, my ion-inifinite-scroll displays the spinner (icon) => cool However, with collection-repeat, ion-infinite-scroll works well ...
Read more >Loading spinner is not showing at the bottom of infinite scroll
I am quite new to all of these. Loading spinner somehow not showing up at the bottom of infinite scroll <ion-infinite-scroll #infinite ( ......
Read more >LWC lightning-datatable Infinite Scrolling is not stopping ...
Problem: When there is less data like 1-2 record to show, then spinner is always visible and it doesn't go away. Please help....
Read more >overscroll-behavior - CSS: Cascading Style Sheets | MDN
The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For me a simple workaround did the trick until it is fixed:
It is not mandatory that the icon is only visible if the
ion-infinite-scroll
-Element is active if you use ang-show
orng-if
directive:ion-infinite scrolling is not working for me in v1.1.0 for vs2015 package of phongeap!