Skip to content
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

bug: bug: collection-repeat card width overflow when used with item-height #3357

Closed
vlad-bezden opened this issue Mar 19, 2015 · 6 comments
Closed
Milestone

Comments

@vlad-bezden
Copy link

Type: bug

Platform: android 4.4 webview

Type: bug

Platform: android 4.4 webview

When I use collection-repeat and my item is card and I specify item-height right side of the card will go beyond the content size. Without item-height it works properly. In my case I have to specify item-height and it creates issue.

  <ion-content>
    <ion-list>
      <div class="card list" collection-repeat="item in main.items" item-height="50">
        <h1 style="background-color: red">{{item}}</h1>
      </div>
    </ion-list>
  </ion-content>

I created example so you can take a look at it
http://codepen.io/vlad-bezden/pen/LEMxXX

Thank you.


@vlad-bezden vlad-bezden changed the title collection-repeat card width overflow when used with item-height bug: collection-repeat card width overflow when used with item-height Mar 20, 2015
@vlad-bezden vlad-bezden changed the title bug: collection-repeat card width overflow when used with item-height bug: bug: collection-repeat card width overflow when used with item-height Mar 20, 2015
@mattchue
Copy link

#3352

@Alkashi
Copy link

Alkashi commented Mar 22, 2015

Are you sure the car class is important ?
I have the same bug without the card class and on iOS 8 :/

@vlad-bezden
Copy link
Author

I found to me it only happened when I used card. Items work fine for me. However I can't comment about IOS, since I using and testing it in Chrome and Android.

@mattchue
Copy link

I can confirm that this does indeed happen when running on the iPad, so it seems to be a universal issue.

@Fayozjon
Copy link

Vlad

http://tussen-jaar.nl/24option_utrader

22.03.2015, 14:12, "Vlad Bezden" [email protected]:I found to me it only happened when I used card. Items work fine for me. However I can't comment about IOS, since I using and testing it in Chrome and Android.

—Reply to this email directly or .

@perrygovier
Copy link
Contributor

I believe @mattchue is correct in saying this is related to his issue, but I can't correct it with a $ionicScrollDelegate.resize();.

@ajoslin
Copy link
Contributor

ajoslin commented Apr 6, 2015

Those damn margins.

@ajoslin ajoslin closed this as completed in 1e36afc Apr 7, 2015
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants