software-mansion / software-mansion/react-native-svg

onPressOut getting fired instantly on Real Android Device

Open
#2,848 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Repro provided
Dominant language
TypeScript
Stars
8k
Forks
1.2k
Avg merge
10d 9h
Merged PRs (30d)
2

Description

Description

I am using react-native-svg: 15.12.1 version in my react-native: 0.77.3 version. I was getting issue of onPressOut getting fired instantly on real Android Device as I click using OnPressIn but working fine on Android Emulator. I used the OnResponderRelease parameter for now and it worked somehow. Please rectify it or Guide me with this issue.

Steps to reproduce

Used the react-native-svg package

Snack or a link to a repository

https://github.com/RAWLICK/Rescheduler-App/blob/main/src/Components/Tabs/Schedule.tsx

SVG version

15.12.1

React Native version

0.77.3

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

Realme Narzo 30

Acknowledgements

Yes

Contributor guide

Open the contributing guide

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 with src/Components/Tabs/Schedule.tsx in the linked Rescheduler-App and reproduce the behavior on a Realme Narzo 30 using react-native-svg 15.12.1 and React Native 0.77.3. Compare the real-device behavior with the Android emulator and verify that onPressOut is not fired immediately after onPressIn.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.