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

nav-title-slide-ios7 always on in Beta 8, cannot be disabled/changed

Open djensen47 opened this issue 12 years ago • 36 comments

In Beta 8 the nav-title-slide-ios7 animation is always on.

For instance, This

<ion-nav-bar class="bar-positive no-animation" animation="no-animation">

gets rendered as this

<ion-nav-bar class="bar-positive no-animation bar bar-header nav-bar nav-title-slide-ios7 disable-user-behavior" animation="no-animation">
</ion-nav-bar>

Here's a codepen by mhartington http://codepen.io/mhartington/pen/sDcna

djensen47 avatar Jun 24 '14 23:06 djensen47

Here's an additional codepen as well,

http://codepen.io/mhartington/pen/rGFdy

mhartington avatar Jun 30 '14 16:06 mhartington

I faced the same issue and it seems the bug was introduced in beta 7 version as you can see by this fork of mhartington's pen: http://codepen.io/joined/pen/vBFAr

joined avatar Jul 01 '14 21:07 joined

Note, this is still the case in beta 9.

perrygovier avatar Jul 07 '14 14:07 perrygovier

Fixed, thanks all.

ajoslin avatar Jul 07 '14 17:07 ajoslin

:thumbsup:

djensen47 avatar Jul 08 '14 05:07 djensen47

Note, this is still the case in beta 9.

asterism612 avatar Jul 12 '14 03:07 asterism612

Beta 9 was released before this bug was fixed. Nightly works!

joined avatar Jul 12 '14 16:07 joined

Still seeing this issue in Beta 10.

keanedp avatar Jul 27 '14 02:07 keanedp

Hi..still cannot disable animation in nightly build 1.0.0-beta.11-nightly-371. get the same slide animation even when i use animation='no-animation'

TayganPillay avatar Aug 19 '14 19:08 TayganPillay

Seems to work for me

http://codepen.io/mhartington/pen/nzDrB

    <ion-nav-bar class="bar-positive" animation="no-animation">
      <ion-nav-back-button class="button-icon ion-arrow-left-c">
      </ion-nav-back-button>
    </ion-nav-bar>

mhartington avatar Aug 20 '14 15:08 mhartington

I can't disable either on Beta 11.

jrowny avatar Aug 24 '14 06:08 jrowny

@jrowny have you looked at the codepen above, it works for me

mhartington avatar Aug 25 '14 17:08 mhartington

Yea, that one works but I'm not using a nav-bar, I'm using a header-bar.

On Mon, Aug 25, 2014 at 1:44 PM, Mike Hartington [email protected] wrote:

@jrowny https://github.com/jrowny have you looked at the codepen above, it works for me

— Reply to this email directly or view it on GitHub https://github.com/driftyco/ionic/issues/1671#issuecomment-53298410.

Jonathan

jrowny avatar Aug 25 '14 17:08 jrowny

not working for me, still sliding left and right

<ion-nav-view animation="no-animation" ></ion-nav-view>

mirko77 avatar Sep 11 '14 17:09 mirko77

Again, seems to work fine for me, check it out

mhartington avatar Sep 11 '14 17:09 mhartington

I fix it, all good now, thanks

mirko77 avatar Sep 11 '14 19:09 mirko77

My title stuck in the middle when I navigate back to the previous page. any idea?

             <ion-nav-bar  align-title="left" animation="no-animation">

Set2005 avatar Sep 29 '14 10:09 Set2005

Hi, using todays build I am also not able to turn off the animation. I have tried animation="no-animation" on my ion-nav-view. This has no effect on my nav animation on iOS, it still slides. On my android I turned it off by adding nav-view-transition="none" to my ion-views. This worked for android but didn't do anything for iOS either.

mobilabgit avatar Dec 03 '14 20:12 mobilabgit

I'm having the same issue with nav-view-transition="none" not working. I'm on beta 14.

bodytaing avatar Jan 10 '15 01:01 bodytaing

Can you provide a codepen of demo Mike Hartington

On Jan 9, 2015, at 8:25 PM, Body Taing [email protected] wrote:

I'm having the same issue with nav-view-transition="none" not working. I'm on beta 14.

— Reply to this email directly or view it on GitHub.

mhartington avatar Jan 10 '15 01:01 mhartington