-
Notifications
You must be signed in to change notification settings - Fork 135
fix(virtual-scroll): Preventing 0 items rendering bug #172
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
base: v3
Are you sure you want to change the base?
Conversation
The Ionic's virtual-scroll directive should not be re-rendered due to a template directive because it can't keep it viewport state internally. Closes eakoriakin#146
|
When I try this on ionic 3.9.8 it breaks AOT --prod :( |
|
When i run I get this error. How can I skip that heroku part? @menosprezzi Thanks in advance! |
|
Is there a chance that author would just merge the changes? Even if i pull and try to build with gulp a package - it still has some errors rxjs. If anyone knows how to build it locally would appreciate that info |
I did it, instead of recompiling as it was failing I just copied locally the files in |
Actually it introduces another bug
|
Hello Mr @eakoriakin! I'm thankful for your component, it's great!
I'm dealing with the issue #146 in my app, so I decided to help in this repo. I've found the code that causes the bug in the component.
The Ionic's virtual-scroll directive should not be re-rendered due to a template directive (ngIf in this case) because it can't keep it viewport state internally. The virtual-scroll needs to keep disposed on the template to match the boundaries to render items when new items came.
Thanks again!