-
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
VirtualScroll elements disappear to early from the view #13772
Comments
Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? Thanks for using Ionic! |
Hello! As it seems it has been a while since there was any activity on this issue I am closing it for now. If you are still having the issue, please be sure to include a GitHub repo with a sample application. Thanks for using Ionic! |
Do not close this! It is still an issue as with ALL the other virtual
scroll issues.
Come on guys!
…On 16 Jan 2018 11:46, "Ken Sodemann" ***@***.***> wrote:
Hello! As it seems it has been a while since there was any activity on
this issue I am closing it for now. If you are still having the issue,
please be sure to include a GitHub repo with a sample application.
Thanks for using Ionic!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#13772 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANnlXuaQUkmSx1DjsSp5714yeEWyKlH1ks5tLIwVgaJpZM4RUZU8>
.
|
I just noticed the exact same issue. As soon as there is any content above the virtualScroll area, the virtualItems start to disappear while they are still visible. The offset seems to match the height of the content before the virtualScroll starts, which might result in scrolling through pages without any content. |
Yeah, the only workaround I found was to put the toolbar in the header and not in the content (so it is visible even on scroll). |
@evenmind Yes, that worked for me too. But this does not solve the issue if you have additional content - like featured posts, etc. - above the list of scrolling items. And this bug is limits you in the layout of your UI-features. |
Yes it's really annoying ! |
My STRONG advice is to find a way around using virtual scroll. Make your
list filtered in some way that means you can render all the items normally.
Virtual Scroll is completely and utterly broken and not worth wasting time
on until someone from the Ionic team acknowledges the multitude of issues
surrounding it and fixes them.
But then they seem far more focused on PWA matters to bother with trivial
things like making a stable and robust framework...
Maybe if this gets enough upvotes someone will actually do something? Who
knows.
…On 6 Feb 2018 2:44 pm, "evenmind" ***@***.***> wrote:
Yes it's really annoying !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#13772 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANnlXqCX8Bnzf-ttNnnhdFuYcVgYWxF_ks5tSGVlgaJpZM4RUZU8>
.
|
@daveshirman The problem is I have a huge liste of 1000 elements, each one have an image so if I don't use the virtual scroll and load elements by 10 for exemple with an infinite scroll, if scrolled to the bottom the DOM can't support rendering 1000 elements so I have no choices. Except if you have an idea for this? |
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. |
Ionic version:
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[X] 3.x
I'm submitting a ...
[X] bug report
Current behavior:
Hi, since I upgraded from ionic 2.2.1 to the latest 3.9.2 i have an issue with the VirtualScroll.
Here is the start page (there is a toolbar in header):
![GitHub Logo](https://camo.githubusercontent.com/2d1bc597ef77c9261e79c1276d1ab1ef5b464439f9cd46e3040cf15f93778716/68747470733a2f2f6465762e6576656e2d6d696e642e636f6d2f696d672f302e706e67)
When i start scroll to the bottom (everything is fine):
![GitHub Logo](https://camo.githubusercontent.com/6ebc0197913de7a8e523da2f73e229a7e4cdddc247bac7a7ba5fcf9b66c2fc81/68747470733a2f2f6465762e6576656e2d6d696e642e636f6d2f696d672f322e706e67)
When i scroll a bit more, the first element of the list disappear to early and we can see a huge blank space which is awful. It should disappear when the first element is almost visible on the top. :
![GitHub Logo](https://camo.githubusercontent.com/97d57c6c3a012e055625eb9016eb6250b5cb2cf00a1554c7d77610809b7905da/68747470733a2f2f6465762e6576656e2d6d696e642e636f6d2f696d672f332e706e67)
When I delete the toolbar in the header it fixes the issue so I think the Virtual scroll doesn't understand that there is this gap between the top of screen and the start of the virtual scroll. How can I tell him that this gap exists?
![GitHub Logo](https://camo.githubusercontent.com/9c2a6d1a5ee62f985f7a7513b1fba7fad034bdbc439da70df9dbbba38a3d7cd3/68747470733a2f2f6465762e6576656e2d6d696e642e636f6d2f696d672f342e706e67)
It happens on both serve and devices.
It happens not only on the first element of list but on all the elements.
Expected behavior:
The first visible element should disappear when it is almost visible on the top.
Related code:
Ionic info:
The text was updated successfully, but these errors were encountered: