-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ion-img with ion-avatar in VirtualScroll #6983
Comments
I had a similar issue with ion-img img {
min-width: 100%;
min-height: 100%;
} So |
I imagine it is supposed to be bound by the surrounding element (ie the ion-avatar, ion-thumbnail etc) but due to a bug in this version it's not. I have just dropped ion-img out of my code for now as it feels like it needs a bit of love before it's ready for primetime. I'll keep testing it out each version update if there is anything relevant in the change log until it's ready. |
Is this fixed for anyone? I'm still seeing this on beta 11 |
Still not fixed. It's ok in browser but images are still streched in iOS and Android.
Cordova CLI: 6.3.1 |
Here's a forum topic showing the same issue: |
I'm having a similar issue, except that I am using AmCharts to build a gauge within each virtual item. After navigating to another back and then going back, the AmCharts are enlarged and no longer within their old bounds. Oddly enough, it only happens to the last item. This does not happen when the list is not using virtual scroll. |
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:
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
The text was updated successfully, but these errors were encountered: