Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-2761 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    89
    Vote Rating
    4
    anand.arvind can only hope to improve

      0  

    Default navigationview back button does not hide if animation is not present (2.0.1 RC)

    navigationview back button does not hide if animation is not present (2.0.1 RC)


    If animations are not defined in naviation/Bar.js, function doChangeView

    /**
    * @private
    */
    doChangeView: function(view, hasPrevious, reverse) {
    var me = this,
    leftBox = me.leftBox,
    leftBoxElement = leftBox.element,
    titleComponent = me.titleComponent,
    titleElement = titleComponent.element,
    backButton = me.getBackButton(),
    titleText = me.getTitleText(),
    backButtonText = me.getBackButtonText(),
    animation = view.getLayout().getAnimation(),
    animated = animation && animation.isAnimation && view.isPainted(),
    properties, leftGhost, titleGhost, leftProps, titleProps;


    if (animated) {
    leftGhost = me.createProxy(leftBox.element);
    leftBoxElement.setStyle('opacity', '0');
    backButton.setText(backButtonText);
    backButton[hasPrevious ? 'show' : 'hide']();

    the bottom has the code

    if (hasPrevious) {
    backButton.setText(backButtonText);
    backButton.show();
    }

    but also needs the code as follows

    if (hasPrevious) {
    backButton.setText(backButtonText);
    backButton.show();
    }
    else
    {
    backButton.hide();
    }

    to hide the back button. Current examples have view.getLayout().getAnimation() defined so do not run into this, once this is null this case is triggered and when coming back to the first element in the stack the back button is still visible.

  2. #2
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    89
    Vote Rating
    4
    anand.arvind can only hope to improve

      0  

    Default more information on this ...

    more information on this ...


    The workaround is to add an animation, but had removed it as I found that this made the Android native app less responsive and ideally want to remove the animation to make the transitions as fast as they can be. I can work around this by fixing the code and moving along, but good to get it fixed in the next dot release.

    Anand

  3. #3
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

    Sencha Inc

    Jamie Avins

    @jamieavins

  4. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    This has been fixed for the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar