Ionic-framework: bug: Using *ngIf on item-left, item-right places it in ion-item-content

Created on 19 Jan 2016  路  5Comments  路  Source: ionic-team/ionic-framework

_From @brandyscarney on November 18, 2015 0:8_

If you use a *ngIf on a thumbnail in an item it will place it inside of the ion-item-content instead of of outside of it.

screen shot 2015-11-17 at 7 07 57 pm

_Copied from original issue: driftyco/ionic2#574_

Most helpful comment

All 5 comments

_From @brandyscarney on November 18, 2015 19:43_

Opened an issue with angular for this after discussing with Igor: https://github.com/angular/angular/issues/5363

_From @brandyscarney on November 25, 2015 20:27_

Changing the priority on this since there is a temporary workaround:

<template [ngIf]="true" item-left>
  <ion-avatar item-left>
    <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAAAAACH5BAAAAAAALAAAAAABAAEAAAICTAEAOw==">
  </ion-avatar>
</template>

cc @advany

Removing this from a milestone, this is dependent on https://github.com/angular/angular/issues/6303

This will be fixed when we upgrade Angular to 2.0.0-beta.13. See Breaking Changes:
https://github.com/angular/angular/blob/master/CHANGELOG.md#200-beta13-2016-03-31

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brandyscarney picture brandyscarney  路  3Comments

alexbainbridge picture alexbainbridge  路  3Comments

giammaleoni picture giammaleoni  路  3Comments

alan-agius4 picture alan-agius4  路  3Comments

vswarte picture vswarte  路  3Comments