Skip to content

Commit

Permalink
Merge branch 'migrate/animatable-reanimated-v0' into migrate/animatab…
Browse files Browse the repository at this point in the history
…le-reanimated
  • Loading branch information
blazejkustra committed Jan 17, 2025
2 parents 6c278ae + 11df78d commit fa22a21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Modal/BaseModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ function BaseModal(
fullscreen = true,
animationIn,
animationOut,
useNativeDriver,
useNativeDriverForBackdrop,
hideModalContentWhileAnimating = false,
animationInTiming,
animationOutTiming,
Expand Down Expand Up @@ -247,8 +249,8 @@ function BaseModal(
deviceWidth={windowWidth}
animationIn={animationIn ?? modalStyleAnimationIn}
animationOut={animationOut ?? modalStyleAnimationOut}
useNativeDriver
useNativeDriverForBackdrop
useNativeDriver={useNativeDriver}
useNativeDriverForBackdrop={useNativeDriverForBackdrop}
hideModalContentWhileAnimating={hideModalContentWhileAnimating}
animationInTiming={animationInTiming}
animationOutTiming={animationOutTiming}
Expand Down
2 changes: 2 additions & 0 deletions src/components/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ function Modal({fullscreen = true, onModalHide = () => {}, type, onModalShow = (
onModalShow={showModal}
avoidKeyboard={false}
fullscreen={fullscreen}
useNativeDriver={false}
useNativeDriverForBackdrop={false}
type={type}
>
{children}
Expand Down

0 comments on commit fa22a21

Please sign in to comment.