@andy Hi,
Am I Missing something here?
I had a fully working markup with slide-box inside ion-list where each slide could be clicked to reveal more info and the height was dynamic to what was ng-showing. Tried out the nightly for the better performance and to loose the android not-scrolling on slide-box bug. Now nothing works. The ion-list is in a fixed height and the slider takes up the full width and height of the item, hiding my header that I have on each item in the list. I need dynamic height on both the list-item and the slides in the slide-box. How should I fix this?
adding this style help in some way for smoother transitions? <ion-slide-box loop="false" auto-play="false" style="-webkit-transform: translate3d(0, 0, 0);-webkit-overflow-scrolling: touch;"
Loving these new updates, feels a lot more responsive now and fixes my issues with Android being over responsive when scrolling within a slide.
One thing I would really like is the ability to use a slide-box within a slide-box, as I have this as a feature request on the current app I’m building. Can we somehow prevent the event propagating up to the parent slide-box? Is this feature on the horizon?
EDIT: One bug I did find is when setting the selected slide on Android I was sometimes getting blank slides and still needed to do a .
Also, it seems the drag events have changed so now trying to unbind the scroll-box swipe for swiping events on elements within a slide now longer works. This codepen for exmaple is now broken within the new nightly
@andy That didn’t change anything for me, I still can’t find those events to unbind the slidebox. Is ontouch/onrelease the right approach? Or should I be checking for drag/swipe events?
It also broke my activeSlide implementation. I’m jumping to a particular slide from clicking a news entry on the homepage.
That now jumps to the wrong slide (the index before the correct slide) even though my console is showing the right active slide index being passed to the controller. I’ve had to roll it back to ‘1.0.0-beta.13-nightly-627’
It’s a clients app so I’ll need to try and work up an example for plunker. Let me see what I can do.
I’m pretty sure it’s related to $iconicSlideBoxDelegate.update(); being removed now. As I had to take out those lines due to get getting JavaScript errors with that new nightly. Then the active slides stopped working properly.
Quick edit. I’ve just been playing around hardcoding the activeSlide value and it still picks the wrong slide. e.g.
and so, very odd. This is in he new nightly. Let me try and plunker with some clean code.
Code edit
Okay, I ripped everything out for a plunker to prove to myself I wasn’t going mad. As you can see in the following example the slides seem to be counting from 1 rather than 0 as they were before. Is that intentional?
Is this refactor in current release, 1.0.0-rc2? In the commit it mentions that for example update() method is removed, but it is present in both current docs and in the nightly docs.