Skip to content

Commit

Permalink
fix: make sure animate is enable when closing modalize
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremybarbet committed Apr 23, 2020
1 parent f1cd77a commit df49ca5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ const ModalizeBase = (

BackHandler.removeEventListener('hardwareBackPress', handleBackPress);

cancelTranslateY.setValue(1);
setBeginScrollYValue(0);
beginScrollY.setValue(0);

Expand Down

0 comments on commit df49ca5

Please sign in to comment.