Closed FranciZ closed 6 years ago
I reverted to a previous commit 89553f616c031428e10ac402650060513a0fe776 and that seems to work... You might want to look into this.
@FranciZ thank you for the heads up. I think i'm going to revert that commit, adding pinch to zoom doesn't really feel like something that should be in the scope of this project.
@TheOriginalJosh sure, no problem. One other thing. On iOS I see this error if I don't have the data ready at compile time and load it asynchronously. It still renders the slides but they are all overlapping and don't work.
ERROR [native code]: ERROR TypeError: undefined is not an object (evaluating '_co.listing.labels')
It works on Android but it fails on iOS. Does this library allow for a dynamic data model/array? If I want to rerender the component after adding or removing slides should that work out of the box? How should I go about achieving this?
I managed to work around this by using *ngIf
on <slides>
and removing the component while updating the array and radding it later. Can use a simple setTimeout
with 0 just to let it remove and add after. It's hacky I guess but it works on both Android and iOS. Is there a better (correct) way of doing this?
This should be working again with the latest release, I'm sorry for the long delay.
I get the same result on both platforms. Overlapping slides that don't respond to sliding. See attached screenshot which is from the demo in
/slides
.I'm guessing one of the core dependencies is an issue I just can't narrow it down. Tried all sorts of different tns-android versions, Angular versions, nativescript-angular versions etc. with no results. Using the setup in
/slides
doesn't work either. iOS or Android, both produce the overlapping slides.