diff options
author | Ivan Chen <ivan@thetaggid.com> | 2020-12-22 11:58:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 11:58:48 -0500 |
commit | 4383161119549ce2f8f76b24ce6c7dbe421e7e78 (patch) | |
tree | 48a372813828a5c32996bc497b1dd197bfd0ab1e /src/components/profile/Content.tsx | |
parent | 15225564bbf56599dd44eaea45998059e7c54b13 (diff) |
[TMA-345] Sticky Taggs Bar (#146)
* sticks taggs bar to top while scrolling
* used animated value for top padding
Co-authored-by: Shravya Ramesh <shravs1208@gmail.com>
Diffstat (limited to 'src/components/profile/Content.tsx')
-rw-r--r-- | src/components/profile/Content.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx index 7064f775..71e4f195 100644 --- a/src/components/profile/Content.tsx +++ b/src/components/profile/Content.tsx @@ -271,6 +271,7 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => { bounces={shouldBounce} showsVerticalScrollIndicator={false} scrollEventThrottle={1} + stickyHeaderIndices={[4]} refreshControl={ <RefreshControl refreshing={refreshing} onRefresh={onRefresh} /> }> |