diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-03-05 16:14:15 -0500 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-03-05 16:14:15 -0500 |
| commit | 7cc6df961f99d5828f6cbe39c7509e17bae7d93c (patch) | |
| tree | 50c5b55c5acbe784f5f54e9861f71652ff709804 /src/components/search/SearchResultsBackground.tsx | |
| parent | 79396f899fe25f611d790d918e8ae4275a61e43c (diff) | |
fixed padding issue
Diffstat (limited to 'src/components/search/SearchResultsBackground.tsx')
| -rw-r--r-- | src/components/search/SearchResultsBackground.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/search/SearchResultsBackground.tsx b/src/components/search/SearchResultsBackground.tsx index fa4e18ca..c5fcc6fb 100644 --- a/src/components/search/SearchResultsBackground.tsx +++ b/src/components/search/SearchResultsBackground.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import Animated, {interpolate} from 'react-native-reanimated'; import {StyleSheet} from 'react-native'; +import Animated, {interpolate} from 'react-native-reanimated'; import {SCREEN_HEIGHT, SCREEN_WIDTH, StatusBarHeight} from '../../utils'; interface SearchResultsBackgroundProps { @@ -21,11 +21,9 @@ const SearchResultsBackground: React.FC<SearchResultsBackgroundProps> = ({ return ( <Animated.View style={[styles.container, {opacity: opacityBackground, top}]}> - <Animated.ScrollView - contentContainerStyle={styles.contentContainer} - style={[styles.results, {opacity: opacityContent}]}> + <Animated.View style={[styles.results, {opacity: opacityContent}]}> {children} - </Animated.ScrollView> + </Animated.View> </Animated.View> ); }; |
