This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Description
Issue details
When setting a foreground an empty view is created that acts as a placeholder and wrapper.
This has position: 'absolute' and the height according to the parallaxHeight property.
Because of this, the empty view is always in front of everything that renders as the content of the ScrollView.
parallaxHeight={300}
renderParallaxForeground={({ animatedValue, height }) => (
<View style={{backgroundColor: 'red', width: '100%', height, opacity: 0.5}} />
)}

slightly scrolled and selected with the React-Native inspector:

Everything below the box is not touchable, i.e. the "Alle Anzeigen" button
- react-native 0.55.0
- react-native-parallax-scroll 1.7.0
Affected platforms
PR incoming