bamlab / bamlab/react-native-image-header-scroll-view

onPress within renderFixedForeground() not working for me

Open
#99 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
101
PR merge metrics
No merged PRs in 30d

Description

I've implemented something similar to your Basic example with a "Click Me" text but the onPress action does not trigger any event.

All the rest of behaviour is working as expected, just the onPress event does not seem to be triggered using the TouchableOpacity.

My code has something very similar to your example below:

renderForeground={() => (

console.log("tap!!")}>
Tap Me!


)}

This is happening across all platforms.

It looks like another layer sits on top.

Any suggestion?

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.