
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
react-native-sticky-header-footer-scroll-view
Advanced tools
Sticky header and footer to any component and make it scrollable.
A <StickyHeaderFooterScrollView> wrapper that
iOS and Android
yarn add react-native-sticky-header-footer-scroll-view
or
npm install react-native-sticky-header-footer-scroll-view --save
Then:
import StickyHeaderFooterScrollView from 'react-native-sticky-header-footer-scroll-view';

import StickyHeaderFooterScrollView from 'react-native-sticky-header-footer-scroll-view';
//Inside of a component's render() method:
render() {
return (
<StickyHeaderFooterScrollView
renderStickyHeader={() => (
<View style={...}>
<Text>{`I'm a sticky header`}</Text>
</View>
)}
renderStickyFooter={() => (
<View style={...}>
<Text>{`I'm a sticky footer`}</Text>
</View>
)}
>
<View style={{ height: 1200, backgroundColor: '#eee' }}>
<Text>View made scrollable</Text>
</View>
</StickyHeaderFooterScrollView>
)
}
| Prop | Description | Default |
|---|---|---|
renderStickyHeader | A renderable function for the sticky header. | null |
renderStickyFooter | A renderable function for the sticky footer. | null |
additionalHeightReserve | A number of pixels to adjust for height taken out of screen by top or bottom navigation bars. | 0 |
makeScrollable | Set true to make the component scrollable. (Do not set true if the input is a listview or flatlist) | true |
fitToScreen | Whether to fill in space when children height is shorter than visible height. | true |
contentContainerStyle | Any style prop to pass to the body. | null |
contentBackgroundColor | Background color of the main component. | transparent |
cd example/StickyHeaderFooter
yarn
npm start
react-native run-ios or react-native run-android
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.