Ion-slide layout


#1

I have a ion-slide with some content in it. It does not layout properly but if I resize the window everything is just fine. Is this a bug or an oversight in my configuration?

Thanks for any help!


#2

Do you mind creating a demo or posting some sample code close to what you actually have?


#3

Yeah, sorry I didn’t do that in the first place.

Here is template:

<ion-slide-box show-pager="false">
  <ion-slide ng-repeat="section in template.Template.Sections" ng-controller="SectionCrtl" class="form-section">

      <div class="section-header">
        <h3>{{section.DisplayName}}</h3>
      </div>

      <div ng-if="!section.hasMany">

        <ion-list scroll="true">
          <ion-item ng-repeat="field in section.Fields" ng-controller="CellCrtl" class="card">
            <h3>{{field.Prompt}}</h3>
          </ion-item>
        </ion-list>

      </div>

      <div ng-if="section.hasMany">
        
        <ion-list>
          <ion-item class="card">
            <h1>Has Many</h1>
          </ion-item>
        </ion-list>

      </div>

  </ion-slide>
</ion-slide-box>

It’s inside a standard Ionic template constructed with ionic start. I just upgraded to beta 2 and that didn’t fix the problem (but it did a bunch of others, specifically on Android, which rocks).