Skip to content

Instantly share code, notes, and snippets.

@julianburr
Last active July 3, 2024 13:27
Show Gist options
  • Save julianburr/8a980f820781b8cd5a7da43d7adbf373 to your computer and use it in GitHub Desktop.
Save julianburr/8a980f820781b8cd5a7da43d7adbf373 to your computer and use it in GitHub Desktop.
Medium: RN Position fixed example
class AwesomeComponent extends Component {
...
}
<View>
<View key='fixed' style={{position: 'absolute', top: 0, left: 0, right: 0, height: 50}} />
<ScrollView>
...
</ScrollView>
</View>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment