Last active
July 3, 2024 13:27
-
-
Save julianburr/8a980f820781b8cd5a7da43d7adbf373 to your computer and use it in GitHub Desktop.
Medium: RN Position fixed example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AwesomeComponent extends Component { | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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