when scroll up onPress not work
Ehsan0007 opened this issue · comments
when i scroll up on Press event not call but when i scroll down it working
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
ok fixed this issue on here, the previous above has a couple errors.
Errors are fixed.
@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
I am facing same issue. How did you manage to fix yours?
I am using 0.21.3 version with react-native 0.62
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
@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.