-
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
Virtual Scroll Not Filling Entire Space #6999
Comments
I'm also having this issue in a view with 2 virtual scrolls: recent searches and available lines. When I first load it, it gives me a blank space in the beginning of the list. If I click in the |
Is related to #6766 |
@mpaland actually my issue is not the same as the one you mentioned. I've inspected the element in the browser, and it seems to be applying a CSS rule I also noticed that the list is built using this transform3d rule and with |
I notice very similar behavior on virtualscroll lists. They will fill the viewport initially, scroll down quickly and when the scroll stops only part of the view will be occupied until your scroll 1 or 2 px further then the full space is used. |
@danbucholtz how u managed to make the virtualScroll with multiple elements on a line? |
The repeating virtual item is a col inside a row with the wrap parameter set which is part of a grid. I believe that's right anyway |
@ghenry22 I cloned the repo, and there is nothing special done to display more elements in a line, very strange, will need to review how its working. @danbucholtz you can try to increase the |
@infinityOne, Virtual Scroll will try to fill the entire space available. Our items are small (images), so it just automatically does it. Thanks, |
It looks like this issue is making the virtual scroll to be really buggy on ios. Sometimes there are blanks at the top, or middle or even sometimes everything is blank... |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
In V2, when I use virtual scroll in the ionic-image-gallery-app, it does not fill all of the provided space with "cells".
See the screenshot for a visual reference.
Basically, the virtual-scroll container has access to the entire screen. It is not utilizing it by default. Once I scroll, it does begin using it.
Before Scrolling
![screen shot 2016-06-21 at 12 32 57 pm](https://cloud.githubusercontent.com/assets/4680488/16239845/63af7ed4-37ac-11e6-805e-26a2b9052593.png)
After Scrolling a few px
Thanks,
Dan
The text was updated successfully, but these errors were encountered: