triniwiz / nativescript-pager

Apache License 2.0
90 stars 48 forks source link

Swiping doesn't work if set peaking on Android #156

Closed dotnetdreamer closed 4 years ago

dotnetdreamer commented 4 years ago

Which platform(s) does your issue occur on?

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

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

Create a new project and add the Pager plugin

Is there any code involved?

I used the following code:

           <Pager #topPager row="0" spacing="1" peaking="35%" [disableSwipe]="isLoading" disableAnimation="true" 
                [items]="menuItems" class="top-pager" 
                [selectedIndex]="menuPagerIndex" (selectedIndexChange)="onTopPagerIndexChanged($event)">
                <ng-template let-i="index" let-item="item">
                    <GridLayout rows="*, {{isTablet ? 17 : 10}}" class="pager-item {{item.cssClass}}">
                        <Label class="pager-item-title {{item.cssClass}}" [text]="item.title" [class.ative]="i === menuPagerIndex"></Label>
                        <Label text="&#xe950;" row="1"  
                            class="ficon ficon-23 arrow-down {{item.cssClass}}" *ngIf="i === menuPagerIndex"></Label>
                    </GridLayout>
                </ng-template> 
            </Pager>

To see the issue, please check the following video:

https://bit.ly/2EqIhMM

dotnetdreamer commented 4 years ago

Any workaround for this...?