Skip to content

ion-img with ion-avatar in VirtualScroll #6983

@ghenry22

Description

@ghenry22

Short description of the problem:

Images are not displayed properly in a VirtualScroll list when using ion-img with type ion-avatar on an item. The image is stretched out really large.

Screenshots attached

What behavior are you expecting?

The image is presented as a standard avatar style

Steps to reproduce:

  1. Create a virtual scroll list. Use ion-img for the image in an ion-avatar on an item.
  2. Not reproducible in plunker/browser.
  3. Test on iOS simulator or an actual phone

Which Ionic Version? 1.x or 2.x
2.0 beta9

Cordova CLI: 6.2.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.9
Ionic CLI Version: 2.0.0-beta.30
Ionic App Lib Version: 2.0.0-beta.16
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.11.1
Xcode version: Xcode 7.3.1 Build version 7D1014

2016-06-21 09_33_49-os x 10 11 - vmware workstation
2016-06-21 09_37_32-

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions