leecade / leecade/react-native-swiper

In Android, 'onTouchEnd' event fires instantly while starting swipe.

Open
#1,173 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

In Android, the 'onTouchEnd' triggers instantly while swipe is started, while as in IOS it behaves as it should be?
I am using react-native-swiper v 1.5.6 and react-native v 0.59

It should have triggered only when we untouched the slide.

Run swiper project as the local project, console warn on 'onTouchEnd' event, touch using finger and swipe it, and triggers as soon as it begins to swipe, but it is expected to trigger only when I lift up my finger.

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

Start by running the swiper project locally with react-native-swiper 1.5.6 and React Native 0.59, then reproduce the swipe while logging onTouchEnd on Android and iOS. Done means Android matches iOS and onTouchEnd fires only after the finger is lifted.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.