Skip to content

Commit

Permalink
Move Story content outside animated view
Browse files Browse the repository at this point in the history
renderContent was rendering content on top of everything, which included the progress indicators on top. Moving this above show the content beneath the progress indicator.
  • Loading branch information
ksmangat authored Aug 28, 2024
1 parent 164cac4 commit d1edf8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/List/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const StoryList: FC<StoryListProps> = ( {
imageProps={imageProps}
videoDuration={videoDuration}
/>
<StoryContent stories={stories} active={isActive} activeStory={activeStory} />
<Animated.View style={[ contentStyles, ListStyles.content ]}>
{imageOverlayView}
<Progress
Expand All @@ -70,7 +71,6 @@ const StoryList: FC<StoryListProps> = ( {
progressContainerStyle={progressContainerStyle}
/>
<StoryHeader {...props} />
<StoryContent stories={stories} active={isActive} activeStory={activeStory} />
</Animated.View>
</Animated.View>
<StoryFooter stories={stories} active={isActive} activeStory={activeStory} />
Expand Down

0 comments on commit d1edf8a

Please sign in to comment.