ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Navbar title overlapping buttons on Android 4.4

Open bostondv opened this issue 12 years ago • 9 comments

The attached image shows how the navbar title overlaps buttons instead of truncating to the available space.

I am only experiencing this problem in a Cordova build on Android 4.4 Nexus 5. The same code was tested and working on iOS, Chrome, Firefox or Galaxy S4 with Android 4.3.

Running Ionic 1.0.0-beta1

2014-04-01 18 49 11

<ion-side-menus>
      <!-- Center content -->
      <ion-side-menu-content>
        <ion-nav-bar class="bar-positive slide-left-right">
          <ion-nav-back-button class="button-icon ion-arrow-left-c" ng-click="goBack()"></ion-nav-back-button>
          <ion-nav-buttons side="right" ng-if="sideMenuEnabled()">
            <button ng-click="toggleRightMenu()" class="button button-icon icon ion-navicon"></button>
          </ion-nav-buttons>
        </ion-nav-bar>

        <ion-nav-view animation="slide-left-right"></ion-nav-view>

      </ion-side-menu-content>

      <!-- Right menu -->
      <ion-side-menu side="right" is-enabled="sideMenuEnabled()">
        ...
      </ion-side-menu>
    </ion-side-menus>

bostondv avatar Apr 01 '14 18:04 bostondv

Hi @bostondv, thanks for the report.

Very interesting .. looking into this.

ajoslin avatar Apr 02 '14 13:04 ajoslin

Hi @bostondv - could you try this with the latest nightly build?

I think it was fixed yesterday with a related commit.

ajoslin avatar Apr 09 '14 15:04 ajoslin

@bostondv closing this for now, I think it's fixed now - lemme know & reopen if you run into it again.

ajoslin avatar Apr 10 '14 17:04 ajoslin

Just tried nightly and appears to be fixed. Thanks!

bostondv avatar Apr 10 '14 18:04 bostondv

@ajoslin I am facing this in android 4.4.4, works fine in browser and in ios is this bug back ?

ituhin avatar Sep 03 '15 14:09 ituhin

@ituhin please provide a codepen demo

mhartington avatar Sep 03 '15 15:09 mhartington

@mhartington ok now its not happening anymore. But i have seen it couple of times on the device. let me see if I can replicate.

ituhin avatar Sep 04 '15 13:09 ituhin

Please test against 1.1 or the nightly builds.

mhartington avatar Sep 04 '15 13:09 mhartington

it is still not working in 1.1 ... i temporarily fixed it using "limitTo", but it is not really a nice solution

kreck avatar Oct 08 '15 16:10 kreck