triniwiz / nativescript-pager

Apache License 2.0
90 stars 48 forks source link

iOS Image pager jerked when I swipe left #174

Open trangbtm31 opened 4 years ago

trangbtm31 commented 4 years ago

If the demo apps cannot help and there is no issue for your problem, tell us about it

Image pager jerked when I swipe left the but it fine when I swipe right. Can you get me some solution for solving this problem?

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

I'm working on Angular 8.3.25, nativescript 6.3.3 and nativescript-pager version "^12.0.0-alpha.8"

Please, tell us how to recreate the issue in as much detail as possible.

Create a slider by the basic Pager for Angular follow the README.md and it happens.

Is there any code involved?

This's my code:

 <Pager [items]="items"
            [height]="height"
            [pagesCount]="items?.length"
            (selectedIndexChange)="onIndexChanged($event)" >
            <ng-template let-i="index" let-item="item">
                <GridLayout class="pager-item">
                    <Image stretch="aspectFill" [src]="item.link" class="post-image"></Image>
                </GridLayout>
            </ng-template>
</Pager>

Demo: It fine when swipe right swipeleft-1_1

The slider jerked when swipe left swiperight-1_1

ghost commented 3 years ago

@trangbtm31 Did you manage to fix it ?

triniwiz commented 3 years ago

@Arturiko there where fixes on the v7 release @triniwiz/nativescript-pager You can try that and lmk

ghost commented 3 years ago

@triniwiz , I'm working on Angular 8.3.25, nativescript 6.3.3 and nativescript-pager version "^12.0.0-alpha.8" as @trangbtm31 :(

Thanks

triniwiz commented 3 years ago

Ah understood