Maybe a trivial bug with ionic 1.0.0-beta.5

<ion-view title="test">
  <ion-content padding="true">
    <div class="list">
      <label class="item item-input">
        <span class="input-label">name</span>
        <i class="icon ion-iphone placeholder-icon"></i>
        <input type="text">
      </label>

      <label class="item item-input">
        <span class="input-label">password</span>
        <i class="icon ion-ios7-unlocked placeholder-icon"></i>
        <input type="password">
      </label>
    </div>

    <button class="button button-block button-positive icon ion-log-in" ng-click="login()">
    </button>

    <div class="row">
      <div class="col">
        <a class="button button-small button-clear icon ion-help-circled" href="#/newpasswd">
          forget
        </a>
      </div>
      <div class="col col-right text-right">
        <a class="button button-small button-clear icon icon-right ion-ios7-personadd" href="#/register">
          new
        </a>
      </div>
    </div>
  </ion-content>
</ion-view>

With the view above, it complains (especially when you click ‘new’ to register and then back to this view):

ionic/release/js/ionic.js: Line 6005 : Uncaught TypeError: Cannot read property 'width' of null

And the right border of the login button stretch to the right border of the view.

I put this together in a codepen and wasn’t able to get that issue. Could you try to add on to it and see if you can get the error again?

Oops, I forgot to mention that the issue does not happen in desktop-browser.
I found it when I run the app on my phone with adb listenning to the device.

alright, I’ll give it a try later on.

Also experiencing this bug on beta-5nightly. Only on non-Chromium devices (pre 4.4)

Greg

Couldn’t reproduce this using the nightlies (2129) with the provided info. I used weinre and wasn’t getting any errors. May have been resolved?

Yes, I guess so. I just tested it, and everything goes well.

Thanks for bringing this up though! If you find anything else, do not hesitate to post it here :smile: