The slidebox refactor is looking great, solid direction you guys are moving this. I was experiencing some laggy behavior so decided to check out the nightly build to see any improvements. I’ve updated my scripts based on the changelog, but am getting this error consistently.
Error: [$compile:ctreq] Controller '$ionicScroll', required by directive 'ionSlideBox', can't be found!
I believe this error is manifesting itself in the app by not sliding the slides but just showing the next/previous on swipe. Within each slide, I do have an ion-scroll element which works fine.
Great news, only problem I have is that I cannot scroll with that build when there is a slider
I can scroll if I has overflow-scroll but then the sliders does not work.
I’m also having some wierd JS errors :
TypeError: Cannot read property 'split' of undefined
at Object.e.Gestures.Instance.off (http://localhost:8100/lib/ionic/js/ionic.min.js:15:12030)
at Function.e.EventController.offGesture (http://localhost:8100/lib/ionic/js/ionic.min.js:15:9654)
at Object.e.offGesture (http://localhost:8100/lib/ionic/js/ionic.min.js:15:10041)
at http://localhost:8100/lib/ionic/js/ionic-angular.min.js:15:6350
at k.$broadcast (http://localhost:8100/lib/angular/angular.min.js:114:327)
at k.$destroy (http://localhost:8100/lib/angular/angular.min.js:110:440)
at d (http://localhost:8100/lib/ionic/js/ionic-angular.min.js:17:5603)
at b (http://localhost:8100/lib/ionic/js/ionic-angular.min.js:17:6282)
at k.$broadcast (http://localhost:8100/lib/angular/angular.min.js:114:327)
at u.transition.L.then.u.transition.u.transition (http://localhost:8100/lib/angular-ui-router/release/angular-ui-router.min.js:7:13180) (index):28
@andy Hello, I had two different issues with the slidebox the first one was caused by a ng-if on the slidebox. The second one i cannot find it yet but it sure looks like it’s taking the whole page as height.
Oh sorry no i cannot scroll the page, the slides does work though
I just figured than even if i only put an empty slidebox it does not allow the page to scroll (). Please note it might be related to my app but it used to work before nightly.
On a side note, sliding from right to left seems to open the menu ( menu is located left )
First of all, let me say that the (few?) folks at Ionic keep impressing and surprising this great community. The framework, together with Cordova is likely the best thing that has happened to web tech. on mobile devices.
Now,
does anyone know when we can get an API for programatically prepending and appending slides? One/or a solution which is not a hack. I’ve already seen some attempts on the forum but none of them yield a great ux.
(I’m working on a neat swipeable calendar but I’ve already hit the limits and so my devices begun heating up )
hello @andy I also have a problem with updating the slidebox, since update() does not exists anymore : see this plunker
Scope is not updated, do something like $apply is missing or should that be applied manually?