Skip to content

Commit

Permalink
fix error in example app
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Aug 31, 2021
1 parent 79c5faa commit 17ee28d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ const App = () => {
</TouchableOpacity>

<ActionSheet
initialOffsetFromBottom={0.7}
initialOffsetFromBottom={1}
ref={actionSheetRef}
statusBarTranslucent
onPositionChanged={onHasReachedTop}
bounceOnOpen={true}
drawUnderStatusBar={false}
drawUnderStatusBar={true}
bounciness={4}
gestureEnabled={true}
defaultOverlayOpacity={0.3}>
Expand All @@ -58,7 +57,9 @@ const App = () => {

<ScrollView
nestedScrollEnabled
onMomentumScrollEnd={onScrollEnd}
onMomentumScrollEnd={() => {
actionSheetRef.current?.handleChildScrollEnd();
}}
style={styles.scrollview}>
<TextInput
style={styles.input}
Expand Down

0 comments on commit 17ee28d

Please sign in to comment.