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

ScrollView on iOS don't call onHandlerStateChange

Open mixail-novikov opened this issue 4 years ago • 2 comments

Description

SUBJ

But I see that after the 1.9.0 version there are some changes in the repo, which may solve the problem. I run examples in the repo, they show the same result - the bug is persisted. Probably native changes weren't pushed to cocoapods. When the next version of react-native-gesture-handler planned to be published.

Expected behavior

onHandlerStateChange runs the same on iOS and android

Actual behavior

onHandlerStateChange runs on android, but not on iOS

Snack or minimal code example

https://snack.expo.io/@mixail/scrollview-bug

Package versions

The same behavior on 1.9.0, tested locally without expo, bare react-native The version in snack ~1.7.0

  • React:
  • React Native:
  • React Native Gesture Handler:

mixail-novikov avatar Dec 10 '20 14:12 mixail-novikov

Hello @mixail-novikov! Thanks for reporting. Did you check if it works correctly on a newer version? Also, make sure you use ScrollView imported from react-native-gesture-handler and not the one from react-native. The issue is quite outdated now so let me just close it with a suggestion to upgrade to react-native-gesture-handler v2.3.2.

tomekzaw avatar Mar 31 '22 10:03 tomekzaw

That's still a thing on GH 2.4 😞. I'll see what can be done about it.

j-piasecki avatar Apr 22 '22 08:04 j-piasecki