Skip to content

[Ionic v4] virtual-scroll does not render all items and shows white space #15587

Closed

Description

@aam-antonio

Bug Report

Ionic Info

Ionic:

   ionic (Ionic CLI)          : 4.1.2
   Ionic Framework            : @ionic/angular 4.0.0-beta.8
   @angular-devkit/core       : 0.8.1
   @angular-devkit/schematics : 0.8.1
   @angular/cli               : 6.2.1
   @ionic/ng-toolkit          : 1.0.8
   @ionic/schematics-angular  : 1.0.6

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.0.0
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.3, (and 4 other plugins)

System:

   NodeJS : v8.11.4 (C:\Program Files\nodejs\node.exe)
   npm    : 6.4.1
   OS     : Windows 10

Describe the Bug
Virtual-scroll does not calculate correctly the number of items and shows a white space while scrolling.
virtual-scroll

Steps to Reproduce
Steps to reproduce the behavior:

  1. Clone this repository https://github.com/aam-antonio/ionic-large-lists.git
  2. npm install
  3. npm run start
  4. Click GO TO VIRTUAL LIST
  5. Open Group 0 -> open Group 4 -> open Subgroup 2

Expected Behavior
The virtual-scroll should render all items that fits on the screen.

Activity

  1. added a commit that references this issue on Dec 13, 2018
    392c219
  2. added a commit that references this issue on Dec 13, 2018
    f05c7d6
  3. ionitron-bot commented on Jan 12, 2019

    @ionitron-bot

    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.

  4. locked and limited conversation to collaborators on Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: core

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions