i6mi6 / react-native-parallax-scroll-view

A ScrollView-like component with parallax and sticky header support.
ISC License
2.31k stars 379 forks source link

renderBackground touchable #73

Open Clcll opened 7 years ago

Clcll commented 7 years ago

I put image slider to rederBackground but it seems renderBackground isn't touchable part of ParallaxScrollView How can i fix it ? Thx

davidroman0O commented 7 years ago

Could be great, someone has an idea ?

chiragpurohit71085 commented 7 years ago

HI

Any body has any update on this? I have some stats in bg, which I want to clickable...

Regards,

monolithed commented 7 years ago

The same problem with renderForeground

ryancen404 commented 6 years ago

I put the component with TouchableOpacity to be rendered in the renderForeground or renderBackground props of the component. They can't be clicked. How to solve it?

jakubgrzelak commented 6 years ago

The same here... If I render sticky header It covers the button which I have in the foreground and it isn't clickable ( you can click on it when sticky header appears ... zIndex doesn't help)

DjarallahBrahim commented 6 years ago

the same problem any solution ?

Mai-Hong-Son commented 5 years ago

same problem :(((

matheussblima commented 5 years ago

The same here... If I render sticky header It covers the button which I have in the foreground and it isn't clickable ( you can click on it when sticky header appears ... zIndex doesn't help)

I was able to solve the problem using the onChangeHeaderVisibility method and changing the stickyHeaderHeight.

onChangeHeaderVisibility={(visible: boolean) => { this.setState({ visibleHeader: visible }); }} stickyHeaderHeight={!this.state.visibleHeader ? 100 : 1}

vibinjoby commented 4 years ago

@matheussblima thanks your solution worked for me +1