react-native-gesture-handler icon indicating copy to clipboard operation
react-native-gesture-handler copied to clipboard

Redux Re render updates causing the pan gesture handler to loose focus and stops working.

Open sahad00 opened this issue 1 year ago • 3 comments

Description

I am using a package react-native-kanban-board which uses Gesture Handler 2x , when I supply a redux state for render , and update the gesture loose its focus on next render . I am trying for so long couldn't resolve it

Steps to reproduce

Supply a redux state for a component which renders a element with Pan Gesture Handler

Snack or a link to a repository

https://github.com/Intechnity-com/react-native-kanban-board/issues/5

Gesture Handler version

^2.9.0

React Native version

0.75.0

Platforms

Android, iOS

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

Android emulator

Device model

No response

Acknowledgements

Yes

sahad00 avatar Oct 03 '24 12:10 sahad00

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

github-actions[bot] avatar Oct 03 '24 12:10 github-actions[bot]

Hi @sahad00!

First of all, could you check if it works on latest version of Gesture Handler? 2.9.0 is quite old 😅

Also, could you prepare minimal reproduction? Preferably copy-pastable one.

m-bert avatar Oct 04 '24 07:10 m-bert

@m-bert I will make a reproduction one in few mins

sahad00 avatar Oct 04 '24 08:10 sahad00