Skip to content

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

@vlad-bezden

Description

@vlad-bezden

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.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions