-
Notifications
You must be signed in to change notification settings - Fork 13.5k
feat: Center loading vertically using infinite-scroll #2503
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
Comments
How about using:
and possibly replacing the hardcoded "44px" with The problem with this solution though, is that simply centering vertically the icon means z-index / contrast suddenly, become important since you're positioning it over something else. When the icon is sitting at the bottom of the content, this isn't a concern. Maybe a better option would be have the developer trigger the |
Hi @drewrygh thanks for the fast support. I think your second solution using I will need to Actually, what I want is: I'm not sure I'm being clearly, it's hard to express something in English :s But I hope you got my point. |
Moving this to our trello board as it is a feature request. https://trello.com/c/lrqhyeT4/84-center-infinite-loading-icon-on-initial-load |
Type: feat
Platform: mobile webview
I'd like to center the loading-spinning in the center of screen horizontally and vertically using infinite-scroll.
Like in this example, http://codepen.io/felquis/pen/pCHim seems like there's no easy way to center the spinning vertically, since infinite-scroll reside inside .scroll that doesn't fit 100% of the height of the viewport like ion-pane does.
Would be nice to have a
center-vertically="true"
(or something like this) option in the infinite-scroll API session here http://ionicframework.com/docs/api/directive/ionInfiniteScroll/Thanks.
The text was updated successfully, but these errors were encountered: