Ionic-framework: Please make VirtualScroll dynamic

Created on 25 Aug 2016  路  6Comments  路  Source: ionic-team/ionic-framework

Short description of the problem:

We have a list of items and when an item gets clicked a buttonbar shows up, like gif below:

sample

VirtualScroll makes the items position:absolute which causes the buttonbar area not to get resized and to overlap the item just below. See the gif below for the difference:

sample2

What behavior are you expecting?

I'm expecting to have a function like resize() to recalculate/resize the VirtualScroll when the items are dinamically rendered.

Which Ionic Version? 2 beta 11

Run ionic info from terminal/cmd prompt: (paste output below)

Cordova CLI: 6.2.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic CLI Version: 2.0.0-beta.32
Ionic App Lib Version: 2.0.0-beta.18
OS: Node Version: v4.5.0

Most helpful comment

+1, I have *ngIf inside *virtualItem which is not rendered properly due to position: absolute;

All 6 comments

+1, it's needed. I thinks @manucorporat can solve this...

+1, I have a list where each item represents a different type of object, causing them all to be varying heights.

+1, I have *ngIf inside *virtualItem which is not rendered properly due to position: absolute;

Hello all! Thanks for using Ionic! Is this still an issue in RC4?

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexbainbridge picture alexbainbridge  路  3Comments

vswarte picture vswarte  路  3Comments

alan-agius4 picture alan-agius4  路  3Comments

RobFerguson picture RobFerguson  路  3Comments

GeorgeAnanthSoosai picture GeorgeAnanthSoosai  路  3Comments