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

renderBackground touchable

Open Clcll opened this issue 7 years ago • 9 comments

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

Clcll avatar Jun 23 '17 12:06 Clcll

Could be great, someone has an idea ?

davidroman0O avatar Aug 02 '17 13:08 davidroman0O

HI

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

Regards,

chiragpurohit71085 avatar Oct 02 '17 09:10 chiragpurohit71085

The same problem with renderForeground

monolithed avatar Nov 05 '17 15:11 monolithed

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?

ryancen404 avatar Sep 07 '18 15:09 ryancen404

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)

jakubgrzelak avatar Oct 15 '18 07:10 jakubgrzelak

the same problem any solution ?

DjarallahBrahim avatar Nov 13 '18 08:11 DjarallahBrahim

same problem :(((

Mai-Hong-Son avatar Dec 02 '18 06:12 Mai-Hong-Son

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}

matheussblima avatar May 28 '19 18:05 matheussblima

@matheussblima thanks your solution worked for me +1

vibinjoby avatar Sep 25 '20 15:09 vibinjoby