Ionic list height problem


#1

My list has only a height of a few pixels.

A screenshot:

My html template:

I tested it in Ionic View and Browser. Here the dom from the browser:

I am using “ionic-angular”: “2.0.0-beta.7”. What I am doing wrong?


#2

Could you post the relevant code to something like https://codeshare.io/ ? On first glance, what you have done works. Just curious, if you run the tutorial project, is the list working correctly?


#3

Thanks for your reply,
I tried the tutorial and found the problem:

instead of
import {Page} from 'ionic-angular'; @Page({ })
I used:
import {Component} from '@angular/core'; @Component({ })


#4

Aha. Glad you figured it out :slight_smile: