nativescript-community / nativescript-community/ui-pager

Swipe events not triggering on Android

Open
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
21
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Hello guys!

I'm trying to track the user's swipes to perform certain actions, but to me, none of the swipe listeners triggers. I'm using the pager like this:

 <Pager [items]="videos" circularMode="true" showIndicator="true" indicator="thin_worm" indicatorColor="#4e4631"
        indicatorSelectedColor="#77567a" autoplay="false" (swipeStart)="onSwipeStart($event)"
        (swipeOver)="onSwipe($event)" (swipeEnd)="onSwipeEnd($event)">

where all of the functions that are supposed to trigger just print the event on the console.

I'm using Android, Angular 13, NS 8.2 and the latest plugin version 13.0.42

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Android using the Pager markup in the report with Angular 13, NS 8.2, and plugin version 13.0.42. Start by checking whether swipeStart, swipeOver, and swipeEnd callbacks log anything; done means the reported swipe listeners trigger as expected or the failure is narrowed to a specific event.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, angular, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.