Please help test: Angular 1.3, improved transitions, cached views (repost)

@hoomanb Would you be able to provide a codepen showing how it’s not working? Thanks

Thanks @adam Confirming this fixed it.

1 Like

@mhartington @adam

Here is a codepen that can illustrate the issue with the keyboard on Android. Here is a zip of the project shared via Dropbox. I removed the Android platform in the zip to save size. I am testing using Cordova 3.6.3 for Android.

When the keyboard is brought up on a device every ionScroll in a cached view has its scrollTop set to 0. I can’t reproduce this issue on an iPhone.

This issue on Android occurs with and without the ionic keyboard plugin.

I hope this can help find out the issue. Thank you for all the hard work and Ionic :sunny:

@Ross This should be fixed as of build 876. Basically Android fires off a window resize event when the keyboard comes up, and iOS doesn’t. When the resize happens it tells all the scroll views to recalculate, however, not all of them are rendered. I updated the resize method to make sure it has dimensions before it tries to resize. Please give it a test and let me know if it fixes it for you. Thanks!

1 Like

Yeah it is fixed, great work, thank you.

1 Like

Everyone using the SlideBox: we have decided to delay the release of the slidebox refactor until the next release.

The refactor has some UX problems, and we don’t want to delay the release of the next beta to fix them.

Additionally, we don’t want to throw too many changes at you guys at once.

We’ll have it in the next release, and be sure it’s up to our standards.

2 Likes

(this means that as of now, the old slidebox is in the nightly builds).

Current nightly has broken at least one thing - the footer no longer shows where it should. /cc @adam

See the Pen Footer Toggle: Nightly by Ionic (@ionic) on CodePen.

1 Like

What’s the sort of timeline for the new SlideBox going back into the nightly? And will it be the same one that has been worked on going back in?

Just wondering wither to stick with 876 and finish my refactor knowing that it will be back soon to continue working with the latest version. Or to revert back to the old slidebox code in my project and continue testing with the nightly?

hmm I’m asking myself the same… Would you be so kind to upload 876 somewhere? I think I’m gonna stick with the new SlideBox and want to have the most recent version.

please solve dis problem

Hi,

Is there a plain to adopt ionicons 2.0 in the upcoming beta 14?

Thanks.

1 Like

@andy Nightly: Ugly ionicSlideBoxDelegate transitions on Android: https://github.com/driftyco/ionic/issues/2700

@adam, please how can I solve this problem?

here http://codepen.io/calendee/pen/ncdgq

if I just change

<script src="//code.ionicframework.com/1.0.0-beta.12/js/ionic.bundle.js"></script>

to

<script src="//http://code.ionicframework.com/nightly/js/ionic.bundle.js"></script> 

everything corrupted !! http://codepen.io/anon/pen/OPyOqz

In My app this error appears :
Error:
[$compile:multidir] Multiple directives [ionNavBar, navBarSwipe] asking
for new/isolated scope on: nav-bar-swipe="" swipe-action=“toggleLeft()”>

when I delete ‘navBarSwip’ directive it works… But not as I wanted … :frowning:
I want allow drag/swipe to open depending on what you’re dragging … in my case swipe just on navbar.

Many thanks in advance

@Shams

Try

<script src="//code.ionicframework.com/nightly/js/ionic.bundle.js"></script>

Not

<script src="//http://code.ionicframework.com/nightly/js/ionic.bundle.js"></script>

Wasn’t getting any errors since there was no directive included in the codepens.

@mhartington thank you very much, But it isn’t working as in http://codepen.io/calendee/pen/ncdgq

You don’t even need the directive, as you already have those built

<ion-nav-bar class="bar-positive" on-swipe-right="toggleLeft()">
  <ion-nav-back-button>
  </ion-nav-back-button>
</ion-nav-bar>

http://ionicframework.com/docs/api/directive/onSwipeRight/

1 Like

@vrifino Ionicons 2.0 will be in the release after beta14. Beta14 should keep using http://ionicons.com/1.5.2/

1 Like

Ok,

but are there some issues if I replace ionicons 1.5.2 with 2.0.0 in current nightly?

Thanks.

@vrifino In general no, there shouldn’t be any issues. But the biggest change is that ionicons 2.0 will not be providing rotating icons, but instead we’re going to build a better SVG system for those scenarios. So places where ionic uses rotating icons like loading and infinite scroll, it won’t rotate unless you provide you’re own CSS.

1 Like