Skip to content

Commit eee0d98

Browse files
committed
fix(styling): fix styling issue with the wrapper being flex: 1
1 parent 94dde96 commit eee0d98

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Provider.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import {
2525
type ScrollViewProps,
2626
type TextInputProps,
2727
View,
28-
StyleSheet,
2928
useWindowDimensions,
3029
} from 'react-native';
3130
import { Platform } from 'react-native';
@@ -56,7 +55,6 @@ function Wrapper(props: PropsWithChildren<{}>) {
5655

5756
return (
5857
<View
59-
style={styles.wrapper}
6058
ref={wrapperRef}
6159
onLayout={({ nativeEvent }) => {
6260
if (nativeEvent.layout.height !== windowDimensions.height) {
@@ -69,12 +67,6 @@ function Wrapper(props: PropsWithChildren<{}>) {
6967
);
7068
}
7169

72-
const styles = StyleSheet.create({
73-
wrapper: {
74-
flex: 1,
75-
},
76-
});
77-
7870
export default function SmartScrollView(props: PropsWithChildren<{}>) {
7971
return (
8072
<SmartScrollProvider>

0 commit comments

Comments
 (0)