react-native-parallax-scroll-view icon indicating copy to clipboard operation
react-native-parallax-scroll-view copied to clipboard

when scroll up onPress not work

Open Ehsan0007 opened this issue 7 years ago • 7 comments

when i scroll up on Press event not call but when i scroll down it working

Ehsan0007 avatar Jul 24 '18 09:07 Ehsan0007

If you're using the "sticky header" then I think the problem is the sticky header is always above the foreground which blocks presses to happen. I've made a PR to fix this issue. Have a look and implement this yourself if necessary https://github.com/i6mi6/react-native-parallax-scroll-view/pull/112/files

nicotroia avatar Jul 26 '18 07:07 nicotroia

ok fixed this issue on here, the previous above has a couple errors.

https://github.com/flikQ/react-native-parallax-scroll-view

flikQ avatar Sep 06 '18 15:09 flikQ

Errors are fixed.

nicotroia avatar Sep 13 '18 01:09 nicotroia

@nicotroia I am facing same issue. How did you manage to fix yours? I am using 0.21.3 version with react-native 0.57.8

vajid04 avatar Jan 21 '19 04:01 vajid04

I am facing same issue. How did you manage to fix yours? I am using 0.21.3 version with react-native 0.62

namphd00769 avatar Apr 01 '20 08:04 namphd00769

If you're using the "sticky header" then I think the problem is the sticky header is always above the foreground which blocks presses to happen. I've made a PR to fix this issue. Have a look and implement this yourself if necessary https://github.com/i6mi6/react-native-parallax-scroll-view/pull/112/files

thank you so much bro you survived me... @nicotroia

developer-ghahremani avatar Nov 06 '21 13:11 developer-ghahremani

@nicotroia That was an awesome solution brother. Thanks much.

For those wondering on why to edit the class from the node_modules or they do not wish to use patch, advice to them is to copy paste the code into local and then edit, as the library does not seem to be maintained anymore. The solution by @nicotroia works flawless.

KawaljeetSBagga avatar Jan 05 '22 08:01 KawaljeetSBagga